mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-18 16:41:36 -07:00
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:
parent
aab9e153d1
commit
72f1d70342
@ -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}");
|
||||
|
Loading…
Reference in New Issue
Block a user