From 3298194a45866ed5668440b2392c6a9513dd206d Mon Sep 17 00:00:00 2001 From: Hongtao Zhang Date: Mon, 3 Jan 2022 10:26:18 -0600 Subject: [PATCH 1/2] stop trigger global hotkey when shell plugin is not enabled --- Plugins/Flow.Launcher.Plugin.Shell/Main.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Flow.Launcher.Plugin.Shell/Main.cs b/Plugins/Flow.Launcher.Plugin.Shell/Main.cs index 0c539015e..bed46425d 100644 --- a/Plugins/Flow.Launcher.Plugin.Shell/Main.cs +++ b/Plugins/Flow.Launcher.Plugin.Shell/Main.cs @@ -317,7 +317,7 @@ namespace Flow.Launcher.Plugin.Shell bool API_GlobalKeyboardEvent(int keyevent, int vkcode, SpecialKeyState state) { - if (_settings.ReplaceWinR) + if (!context.CurrentPluginMetadata.Disabled && _settings.ReplaceWinR) { if (keyevent == (int)KeyEvent.WM_KEYDOWN && vkcode == (int)Keys.R && state.WinPressed) { From 88b4ce5bb6a98a6c05edd891093360b00df51fee Mon Sep 17 00:00:00 2001 From: Jeremy Date: Mon, 10 Jan 2022 20:05:05 +1100 Subject: [PATCH 2/2] Shell plugin version bump --- Plugins/Flow.Launcher.Plugin.Shell/plugin.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Flow.Launcher.Plugin.Shell/plugin.json b/Plugins/Flow.Launcher.Plugin.Shell/plugin.json index d04a919e4..aaad63665 100644 --- a/Plugins/Flow.Launcher.Plugin.Shell/plugin.json +++ b/Plugins/Flow.Launcher.Plugin.Shell/plugin.json @@ -4,7 +4,7 @@ "Name": "Shell", "Description": "Provide executing commands from Flow Launcher", "Author": "qianlifeng", - "Version": "1.4.8", + "Version": "1.4.9", "Language": "csharp", "Website": "https://github.com/Flow-Launcher/Flow.Launcher", "ExecuteFileName": "Flow.Launcher.Plugin.Shell.dll",