Fix log file access through activity watcher icon

wasn't showing due to the changes made to how the activity watcher works
This commit is contained in:
pizzaboxer 2024-10-27 16:52:54 +00:00
parent aab9e153d1
commit 72f1d70342
No known key found for this signature in database
GPG Key ID: 59D4A1DBAD0F2BA8

View File

@ -102,8 +102,6 @@
await Task.Delay(1000);
}
OnLogOpen?.Invoke(this, EventArgs.Empty);
LogLocation = logFileInfo.FullName;
}
else
@ -111,6 +109,8 @@
logFileInfo = new FileInfo(LogLocation);
}
OnLogOpen?.Invoke(this, EventArgs.Empty);
var logFileStream = logFileInfo.Open(FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
App.Logger.WriteLine(LOG_IDENT, $"Opened {LogLocation}");