Support XAPKs and ZIPs containing APKs
This commit is contained in:
@@ -451,7 +451,7 @@
|
||||
<TextBlock TextAlignment="Center">
|
||||
<TextBlock FontSize="22">Option 2</TextBlock>
|
||||
<LineBreak/>
|
||||
<TextBlock>Select or drag & drop one or more APK files, an AAB or IPA file</TextBlock>
|
||||
<TextBlock>Select or drag & drop one or more APK files,<LineBreak/>an XAPK, AAB, IPA or Zip file</TextBlock>
|
||||
<LineBreak/>
|
||||
<TextBlock FontSize="16">Encrypted IPA files are not supported</TextBlock>
|
||||
</TextBlock>
|
||||
|
||||
@@ -141,7 +141,7 @@ namespace Il2CppInspectorGUI
|
||||
/// </summary>
|
||||
private async void BtnSelectPackageFile_OnClick(object sender, RoutedEventArgs e) {
|
||||
var openFileDialog = new OpenFileDialog {
|
||||
Filter = "Android/iOS Application Package (*.apk;*.aab;*.ipa;*.zip)|*.apk;*.aab;*.ipa;*.zip|All files (*.*)|*.*",
|
||||
Filter = "Android/iOS Application Package (*.apk;*.aab;*.ipa;*.xapk;*.zip)|*.apk;*.aab;*.ipa;*.xapk;*.zip|All files (*.*)|*.*",
|
||||
CheckFileExists = true,
|
||||
Multiselect = true
|
||||
};
|
||||
@@ -552,7 +552,7 @@ namespace Il2CppInspectorGUI
|
||||
await LoadMetadataAsync(s);
|
||||
break;
|
||||
|
||||
case var s when s.EndsWith(".apk") || s.EndsWith(".aab") || s.EndsWith(".ipa") || s.EndsWith(".zip"):
|
||||
case var s when s.EndsWith(".apk") || s.EndsWith(".aab") || s.EndsWith(".ipa") || s.EndsWith(".xapk") || s.EndsWith(".zip"):
|
||||
await LoadPackageAsync(s);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user