mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
bugfix
This commit is contained in:
parent
6f46504d18
commit
2ba155944a
1 changed files with 8 additions and 5 deletions
|
|
@ -304,13 +304,16 @@ namespace Flow.Launcher.Plugin.Program.Programs
|
|||
if (urlSection != null)
|
||||
{
|
||||
var url = urlSection["URL"];
|
||||
foreach(var protocol in Main._settings.GetProtocols())
|
||||
if(url != null)
|
||||
{
|
||||
if(url.StartsWith(protocol))
|
||||
foreach(var protocol in Main._settings.GetProtocols())
|
||||
{
|
||||
program.LnkResolvedPath = url;
|
||||
program.Valid = true;
|
||||
break;
|
||||
if(url.StartsWith(protocol))
|
||||
{
|
||||
program.LnkResolvedPath = url;
|
||||
program.Valid = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue