mirror of
https://github.com/QL-Win/QuickLook.git
synced 2026-01-14 07:06:15 +08:00
Prepare support .rpm
This commit is contained in:
@@ -51,6 +51,7 @@ public class Plugin : IViewer
|
||||
// Ubuntu
|
||||
".deb", // Debian Package
|
||||
".appimage", // AppImage Format
|
||||
// ".rpm", // Red Hat Package Manager
|
||||
|
||||
// Others
|
||||
".wgt", ".wgtu", // UniApp Widget
|
||||
@@ -82,6 +83,7 @@ public class Plugin : IViewer
|
||||
".deb" => new Size { Width = 600, Height = 345 },
|
||||
".dmg" => new Size { Width = 560, Height = 510 },
|
||||
".appimage" => new Size { Width = 600, Height = 300 },
|
||||
".rpm" => new Size { Width = 600, Height = 300 },
|
||||
".wgt" or ".wgtu" => new Size { Width = 600, Height = 345 },
|
||||
_ => throw new NotSupportedException("Extension is not supported."),
|
||||
};
|
||||
@@ -105,6 +107,7 @@ public class Plugin : IViewer
|
||||
".deb" => new DebInfoPanel(context),
|
||||
".dmg" => new DmgInfoPanel(context),
|
||||
".appimage" => new AppImageInfoPanel(context),
|
||||
".rpm" => new RpmInfoPanel(context),
|
||||
".wgt" or ".wgtu" => new WgtInfoPanel(context),
|
||||
_ => throw new NotSupportedException("Extension is not supported."),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user