Skip to content

Commit 04536c4

Browse files
authored
Merge pull request #460 from Flow-Launcher/fixShellKeywordError
change sequence of loading for shell plugin to avoid null reference
2 parents fc695c5 + de9389b commit 04536c4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Plugins/Flow.Launcher.Plugin.Shell/Main.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,8 @@ private bool ExistInPath(string filename)
271271
public void Init(PluginInitContext context)
272272
{
273273
this.context = context;
274-
context.API.GlobalKeyboardEvent += API_GlobalKeyboardEvent;
275274
_settings = context.API.LoadSettingJsonStorage<Settings>();
275+
context.API.GlobalKeyboardEvent += API_GlobalKeyboardEvent;
276276
}
277277

278278
bool API_GlobalKeyboardEvent(int keyevent, int vkcode, SpecialKeyState state)

Plugins/Flow.Launcher.Plugin.Shell/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"Name": "Shell",
55
"Description": "Provide executing commands from Flow Launcher",
66
"Author": "qianlifeng",
7-
"Version": "1.4.1",
7+
"Version": "1.4.2",
88
"Language": "csharp",
99
"Website": "https://github.com/Flow-Launcher/Flow.Launcher",
1010
"ExecuteFileName": "Flow.Launcher.Plugin.Shell.dll",

0 commit comments

Comments
 (0)