ArchiveViewer: Add support for more file types (#820)

`.jar` and `.crx` file suppport are added, treated the same as `.zip` files
This commit is contained in:
Moenupa WANG
2021-01-19 01:51:02 +08:00
committed by GitHub
parent a10ffd06e3
commit 6b0f9df088

View File

@@ -26,7 +26,7 @@ namespace QuickLook.Plugin.ArchiveViewer
public class Plugin : IViewer
{
private static readonly string[] Extensions =
{".rar", ".zip", ".tar", ".tgz", ".gz", ".bz2", ".lz", ".xz", ".7z"};
{".rar", ".zip", ".tar", ".tgz", ".gz", ".bz2", ".lz", ".xz", ".7z", ".jar", ".crx"};
private ArchiveInfoPanel _panel;
@@ -64,4 +64,4 @@ namespace QuickLook.Plugin.ArchiveViewer
_panel = null;
}
}
}
}