mirror of
https://github.com/originalnicodr/CinematicUnityExplorer.git
synced 2026-10-11 09:58:02 +08:00
Update LogPanel.cs
This commit is contained in:
1 parent
a07ead2142
commit
0eae78eeb2
1 file changed
+1
-2
@@ -77,9 +77,8 @@ namespace UnityExplorer.UI.Panels
|
||||
|
||||
var fileName = $"UnityExplorer {DateTime.Now:u}.txt";
|
||||
fileName = IOUtility.EnsureValidFilename(fileName);
|
||||
fileName = IOUtility.EnsureValidFilePath(fileName);
|
||||
|
||||
CurrentStreamPath = Path.Combine(path, fileName);
|
||||
CurrentStreamPath = IOUtility.EnsureValidFilePath(Path.Combine(path, fileName));
|
||||
|
||||
File.WriteAllLines(CurrentStreamPath, Logs.Select(it => it.message).ToArray());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user