Fix opening the wrong log directory (#6220)
This commit is contained in:
parent
ccbbaddbcb
commit
4505a7f162
5 changed files with 16 additions and 9 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue