From 6d3a02bf853a3f78d2fa302c49c875d0bd682058 Mon Sep 17 00:00:00 2001 From: ema Date: Thu, 25 Dec 2025 02:26:22 +0800 Subject: [PATCH] Add comments to supported archive extensions list Added descriptive comments to the list of supported archive file extensions in Plugin.cs for better clarity. Also included commented-out entries for compound file binary formats. --- QuickLook.Plugin/QuickLook.Plugin.ArchiveViewer/Plugin.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/QuickLook.Plugin/QuickLook.Plugin.ArchiveViewer/Plugin.cs b/QuickLook.Plugin/QuickLook.Plugin.ArchiveViewer/Plugin.cs index 5774c07..62fc169 100644 --- a/QuickLook.Plugin/QuickLook.Plugin.ArchiveViewer/Plugin.cs +++ b/QuickLook.Plugin/QuickLook.Plugin.ArchiveViewer/Plugin.cs @@ -15,11 +15,11 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . +using QuickLook.Common.Plugin; using System; using System.IO; using System.Linq; using System.Windows; -using QuickLook.Common.Plugin; namespace QuickLook.Plugin.ArchiveViewer; @@ -27,6 +27,7 @@ public class Plugin : IViewer { private static readonly string[] _extensions = [ + // List of supported archive file extensions ".asar", // Electron archive (used to package Electron app resources) ".7z", // 7-Zip compressed archive (uses LZMA/LZMA2 compression) ".bz2", // bzip2 compressed file (often used with tar, e.g. .tar.bz2) @@ -46,6 +47,10 @@ public class Plugin : IViewer ".vsix", // Visual Studio extension package (ZIP-based) ".xz", // XZ compressed file (uses LZMA2 compression) ".zip", // ZIP compressed archive (most common compression format) + + // List of supported compound file binary file extensions + //".cfb", // Compound File Binary format (used by older Microsoft Office files) + //".eif", // QQ emoji file (Compound File Binary format) ]; private ArchiveInfoPanel _panel;