From 2b500e794a820591899b418eafcc43c971106e2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Arrouye?= <5017270+tarrouye@users.noreply.github.com> Date: Mon, 5 Jun 2023 14:10:42 -0700 Subject: [PATCH] Create directory adjust --- src/Ryujinx.Ui.Common/App/ApplicationLibrary.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Ryujinx.Ui.Common/App/ApplicationLibrary.cs b/src/Ryujinx.Ui.Common/App/ApplicationLibrary.cs index 4875cafbf..9a28d4c2c 100644 --- a/src/Ryujinx.Ui.Common/App/ApplicationLibrary.cs +++ b/src/Ryujinx.Ui.Common/App/ApplicationLibrary.cs @@ -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");