GUI: Improve progress updates

This commit is contained in:
Katy Coe
2020-09-12 14:06:43 +02:00
parent e384ec226e
commit 0b97a78a8d
2 changed files with 13 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ namespace Il2CppInspectorGUI
try {
OnStatusUpdate?.Invoke(this, "Extracting package");
var streams = Inspector.GetStreamsFromPackage(packageFiles);
var streams = await Task.Run(() => Inspector.GetStreamsFromPackage(packageFiles));
if (streams == null)
throw new InvalidOperationException("The supplied package is not an APK or IPA file, or does not contain a complete IL2CPP application");