From 59f0a06cb39c7cce4623f8441a85a62d0fcb7964 Mon Sep 17 00:00:00 2001 From: Kevin Zhang Date: Thu, 3 Jun 2021 14:14:27 +0800 Subject: [PATCH 1/2] change sequence of loading for shell plugin to avoid null reference --- 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 71da60ff74d..829398a4b8c 100644 --- a/Plugins/Flow.Launcher.Plugin.Shell/Main.cs +++ b/Plugins/Flow.Launcher.Plugin.Shell/Main.cs @@ -271,8 +271,8 @@ private bool ExistInPath(string filename) public void Init(PluginInitContext context) { this.context = context; - context.API.GlobalKeyboardEvent += API_GlobalKeyboardEvent; _settings = context.API.LoadSettingJsonStorage(); + context.API.GlobalKeyboardEvent += API_GlobalKeyboardEvent; } bool API_GlobalKeyboardEvent(int keyevent, int vkcode, SpecialKeyState state) From de9389b681d6f000a90fa93e6dfdaa5cba0cdcf8 Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Fri, 4 Jun 2021 19:23:25 +1000 Subject: [PATCH 2/2] version bump Shell --- 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 cbc715b6bec..d59f8a30f14 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.1", + "Version": "1.4.2", "Language": "csharp", "Website": "https://github.com/Flow-Launcher/Flow.Launcher", "ExecuteFileName": "Flow.Launcher.Plugin.Shell.dll",