mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
Open disk log with write-only access
This commit is contained in:
1 parent
4b844b4dab
commit
1fa25edf4b
1 file changed
+1
-1
@@ -26,7 +26,7 @@ namespace BepInEx.Logging
|
||||
|
||||
FileStream fileStream;
|
||||
|
||||
while (!Utility.TryOpenFileStream(Path.Combine(Paths.BepInExRootPath, localPath), appendLog ? FileMode.Append : FileMode.Create, out fileStream, share: FileShare.Read))
|
||||
while (!Utility.TryOpenFileStream(Path.Combine(Paths.BepInExRootPath, localPath), appendLog ? FileMode.Append : FileMode.Create, out fileStream, share: FileShare.Read, access: FileAccess.Write))
|
||||
{
|
||||
if (counter == 5)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user