We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f46504 commit 2ba1559Copy full SHA for 2ba1559
Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs
@@ -304,13 +304,16 @@ private static Win32 UrlProgram(string path)
304
if (urlSection != null)
305
{
306
var url = urlSection["URL"];
307
- foreach(var protocol in Main._settings.GetProtocols())
+ if(url != null)
308
309
- if(url.StartsWith(protocol))
+ foreach(var protocol in Main._settings.GetProtocols())
310
311
- program.LnkResolvedPath = url;
312
- program.Valid = true;
313
- break;
+ if(url.StartsWith(protocol))
+ {
+ program.LnkResolvedPath = url;
314
+ program.Valid = true;
315
+ break;
316
+ }
317
}
318
319
0 commit comments