mirror of
https://github.com/QL-Win/QuickLook.git
synced 2026-01-13 07:05:24 +08:00
Support .hap and .hap.1
This commit is contained in:
@@ -44,7 +44,7 @@ public class Plugin : IViewer
|
||||
".ipa", // iOS IPA
|
||||
|
||||
// HarmonyOS
|
||||
//".hap", // HarmonyOS Package
|
||||
".hap", ".hap.1", // HarmonyOS Package
|
||||
//".har", // HarmonyOS Archive
|
||||
|
||||
// Others
|
||||
@@ -71,6 +71,7 @@ public class Plugin : IViewer
|
||||
{
|
||||
".apk" => new Size { Width = 560, Height = 500 },
|
||||
".ipa" => new Size { Width = 560, Height = 500 },
|
||||
".hap" => new Size { Width = 560, Height = 500 },
|
||||
".msi" => new Size { Width = 520, Height = 230 },
|
||||
".msix" or ".msixbundle" or ".appx" or ".appxbundle" => new Size { Width = 560, Height = 328 },
|
||||
".wgt" or ".wgtu" => new Size { Width = 600, Height = 328 },
|
||||
@@ -85,6 +86,7 @@ public class Plugin : IViewer
|
||||
{
|
||||
".apk" => new ApkInfoPanel(context),
|
||||
".ipa" => new IpaInfoPanel(context),
|
||||
".hap" => new HapInfoPanel(context),
|
||||
".msi" => new MsiInfoPanel(context),
|
||||
".msix" or ".msixbundle" or ".appx" or ".appxbundle" => new AppxInfoPanel(context),
|
||||
".wgt" or ".wgtu" => new WgtInfoPanel(context),
|
||||
|
||||
Reference in New Issue
Block a user