mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-14 20:29:07 +00:00
Support .appx and .msix
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user