Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
Support list loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Razmoth authored and Razmoth committed Mar 17, 2023
1 parent 93f50e4 commit 3e009bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions AssetStudioGUI/AssetStudioGUIForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ private async void AssetStudioGUIForm_DragDrop(object sender, DragEventArgs e)
}
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();
Expand Down

0 comments on commit 3e009bd

Please sign in to comment.