mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 17:21:15 +01:00
Fix opening the wrong log directory (#6220)
This commit is contained in:
1 parent
ccbbaddbcb
commit
4505a7f162
5 files changed
+16
-9
No files matched your search
@@ -1378,9 +1378,9 @@ namespace Ryujinx.Ui
|
||||
{
|
||||
string logPath = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Logs");
|
||||
|
||||
if (ReleaseInformation.IsValid)
|
||||
if (LoggerModule.LogDirectoryPath != null)
|
||||
{
|
||||
logPath = System.IO.Path.Combine(AppDataManager.BaseDirPath, "Logs");
|
||||
logPath = LoggerModule.LogDirectoryPath;
|
||||
}
|
||||
|
||||
new DirectoryInfo(logPath).Create();
|
||||
|
||||
Reference in new issue
Block a user