mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-07-16 00:07:52 +08:00
Fix IOUtility creating folders for file paths
This commit is contained in:
@ -62,7 +62,7 @@ namespace UnityExplorer.UI.Panels
|
||||
private void SetupIO()
|
||||
{
|
||||
var path = Path.Combine(ExplorerCore.Loader.ExplorerFolder, "Logs");
|
||||
path = IOUtility.EnsureValidDirectory(path);
|
||||
path = IOUtility.EnsureValidFilePath(path);
|
||||
|
||||
// clean old log(s)
|
||||
var files = Directory.GetFiles(path);
|
||||
|
Reference in New Issue
Block a user