mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-12 10:19:07 +00:00
@@ -25,7 +25,7 @@ namespace QuickLook.Plugin.PEViewer;
|
||||
|
||||
public class Plugin : IViewer
|
||||
{
|
||||
private static readonly string[] Extensions =
|
||||
private static readonly string[] _extensions =
|
||||
[
|
||||
".exe", ".sys", ".scr", ".ocx", ".cpl", ".bpl",
|
||||
".dll", ".ax", ".drv", ".vxd",
|
||||
@@ -46,7 +46,7 @@ public class Plugin : IViewer
|
||||
|
||||
public bool CanHandle(string path)
|
||||
{
|
||||
return !Directory.Exists(path) && Extensions.Any(path.ToLower().EndsWith);
|
||||
return !Directory.Exists(path) && _extensions.Any(path.ToLower().EndsWith);
|
||||
}
|
||||
|
||||
public void Prepare(string path, ContextObject context)
|
||||
|
Reference in New Issue
Block a user