Fix .apk extension handling

This commit is contained in:
ema
2025-06-29 05:34:20 +08:00
parent 3ec576968e
commit 1632b207db
2 changed files with 1 additions and 7 deletions

View File

@@ -64,7 +64,7 @@ public partial class ApkInfoPanel : UserControl, IAppInfoPanel
if (File.Exists(path))
{
var size = new FileInfo(path).Length;
IApkInfo info = Path.GetExtension(path).ToLower() switch
IApkInfo info = Path.GetExtension(Plugin.ConfirmPath(path)).ToLower() switch
{
".apk" => ApkParser.Parse(path),
".aab" => AabParser.Parse(path),