Add MSP installer support (info panel/parser)
build / build (push) Has been cancelled
build / publish (push) Has been cancelled

This commit is contained in:
ema
2026-04-22 00:40:19 +08:00
parent e7deaabd7f
commit ccf80c07cf
5 changed files with 341 additions and 1 deletions
@@ -36,6 +36,7 @@ public sealed class Plugin : IViewer
// Windows
".appx", ".appxbundle", // Windows APPX installer
".msi", // Windows MSI installer
".msp", // Windows MSP installer
".msix", ".msixbundle", // Windows MSIX installer
// macOS
@@ -79,7 +80,7 @@ public sealed class Plugin : IViewer
".apk" or ".aab" => new Size { Width = 600, Height = 510 },
".ipa" => new Size { Width = 560, Height = 510 },
".hap" => new Size { Width = 560, Height = 500 },
".msi" => new Size { Width = 560, Height = 230 },
".msi" or ".msp" => new Size { Width = 560, Height = 230 },
".msix" or ".msixbundle" or ".appx" or ".appxbundle" => new Size { Width = 560, Height = 328 },
".ddeb" or ".deb" => new Size { Width = 600, Height = 345 },
".dmg" => new Size { Width = 560, Height = 510 },
@@ -104,6 +105,7 @@ public sealed class Plugin : IViewer
".ipa" => new IpaInfoPanel(context),
".hap" => new HapInfoPanel(context),
".msi" => new MsiInfoPanel(context),
".msp" => new MspInfoPanel(context),
".msix" or ".msixbundle" or ".appx" or ".appxbundle" => new AppxInfoPanel(context),
".ddeb" or ".deb" => new DebInfoPanel(context),
".dmg" => new DmgInfoPanel(context),