mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-29 00:30:48 -07:00
Fix opening the wrong log directory (#6220)
This commit is contained in:
@ -1352,9 +1352,9 @@ namespace Ryujinx.Ava.UI.ViewModels
|
||||
{
|
||||
string logPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Logs");
|
||||
|
||||
if (ReleaseInformation.IsValid)
|
||||
if (LoggerModule.LogDirectoryPath != null)
|
||||
{
|
||||
logPath = Path.Combine(AppDataManager.BaseDirPath, "Logs");
|
||||
logPath = LoggerModule.LogDirectoryPath;
|
||||
}
|
||||
|
||||
new DirectoryInfo(logPath).Create();
|
||||
|
Reference in New Issue
Block a user