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),

View File

@@ -116,12 +116,6 @@
<!--<PackageReference Include="System.Buffers" Version="4.6.1" />-->
</ItemGroup>
<ItemGroup>
<None Remove="Controls\GlassLayer\100-50-5-monochrome.png" />
<None Remove="Controls\GlassLayer\GaussianBlur.ps" />
<None Remove="Resources\app.ico" />
<None Remove="Fonts\*.ttf" />
</ItemGroup>
<ItemGroup>
<Resource Include="Controls\GlassLayer\100-50-5-monochrome.png" />
<Resource Include="Controls\GlassLayer\GaussianBlur.ps" />