Create directory adjust

This commit is contained in:
Théo Arrouye 2023-06-05 14:10:42 -07:00
parent bbe78d96bd
commit 2b500e794a

View file

@ -514,10 +514,7 @@ namespace Ryujinx.Ui.App.Common
string metadataFolder = Path.Combine(guiFolder, userId.ToString());
string metadataFile = Path.Combine(metadataFolder, "metadata.json");
if (!Directory.Exists(metadataFolder))
{
Directory.CreateDirectory(metadataFolder);
}
Directory.CreateDirectory(metadataFolder);
// Handle migration from old default to current user
string legacyFile = Path.Combine(guiFolder, "metadata.json");