mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-15 07:00:32 +00:00
Create directory adjust
This commit is contained in:
parent
bbe78d96bd
commit
2b500e794a
1 changed files with 1 additions and 4 deletions
|
@ -514,10 +514,7 @@ namespace Ryujinx.Ui.App.Common
|
||||||
string metadataFolder = Path.Combine(guiFolder, userId.ToString());
|
string metadataFolder = Path.Combine(guiFolder, userId.ToString());
|
||||||
string metadataFile = Path.Combine(metadataFolder, "metadata.json");
|
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
|
// Handle migration from old default to current user
|
||||||
string legacyFile = Path.Combine(guiFolder, "metadata.json");
|
string legacyFile = Path.Combine(guiFolder, "metadata.json");
|
||||||
|
|
Loading…
Reference in a new issue