- [GUI] fix bug when building AssetMap with stripped version.

This commit is contained in:
Razmoth
2023-09-17 00:07:12 +04:00
parent 5e6ddc31c9
commit 7e26194fff
2 changed files with 8 additions and 0 deletions

View File

@@ -32,6 +32,11 @@ namespace AssetStudio
public string[] Dependencies { get; set; }
}
public static void SetUnityVersion(string version)
{
assetsManager.SpecifyUnityVersion = version;
}
public static string[] GetMaps()
{
Directory.CreateDirectory(MapName);
@@ -46,6 +51,7 @@ namespace AssetStudio
CABMap.Clear();
Offsets.Clear();
BaseFolder = string.Empty;
assetsManager.SpecifyUnityVersion = string.Empty;
tokenSource.Dispose();
tokenSource = new CancellationTokenSource();