mirror of
https://github.com/QL-Win/QuickLook.git
synced 2026-05-08 03:06:29 +08:00
@@ -30,7 +30,14 @@ public sealed partial class Plugin
|
||||
public IEnumerable<IMenuItem> GetMenuItems()
|
||||
{
|
||||
string translationFile = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "Translations.config");
|
||||
string extension = Path.GetExtension(_currentPath).ToLower();
|
||||
string extension = "";
|
||||
try
|
||||
{
|
||||
extension = Path.GetExtension(_currentPath).ToLower();
|
||||
} catch (System.Exception)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
var reopen = extension switch
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user