Support list loading

This commit is contained in:
Razmoth
2023-03-17 17:33:57 +04:00
parent 93f50e4bc0
commit 3e009bd085

View File

@@ -166,6 +166,10 @@ namespace AssetStudioGUI
}
else
{
if (paths.Length == 1 && File.Exists(paths[0]) && Path.GetExtension(paths[0]) == ".txt")
{
paths = File.ReadAllLines(paths[0]);
}
await Task.Run(() => assetsManager.LoadFiles(paths));
}
BuildAssetStructures();