Support .appx and .msix

This commit is contained in:
ema
2025-05-31 12:16:31 +08:00
parent 833222507b
commit 8a5d640572
13 changed files with 683 additions and 21 deletions

View File

@@ -17,7 +17,7 @@
using QuickLook.Common.ExtensionMethods;
using QuickLook.Common.Helpers;
using QuickLook.Plugin.AppViewer.MsiImageParser;
using QuickLook.Plugin.AppViewer.MsiPackageParser;
using System;
using System.Globalization;
using System.IO;
@@ -29,8 +29,6 @@ namespace QuickLook.Plugin.AppViewer;
public partial class MsiInfoPanel : UserControl, IAppInfoPanel
{
private bool _stop;
public MsiInfoPanel()
{
InitializeComponent();
@@ -43,12 +41,6 @@ public partial class MsiInfoPanel : UserControl, IAppInfoPanel
modDateTitle.Text = TranslationHelper.Get("LAST_MODIFIED", translationFile);
}
public bool Stop
{
set => _stop = value;
get => _stop;
}
public void DisplayInfo(string path)
{
_ = Task.Run(() =>
@@ -70,8 +62,6 @@ public partial class MsiInfoPanel : UserControl, IAppInfoPanel
var name = Path.GetFileName(path);
filename.Text = string.IsNullOrEmpty(name) ? path : name;
Stop = false;
_ = Task.Run(() =>
{
if (File.Exists(path))