This commit is contained in:
Vic 2022-10-24 14:00:02 +08:00
parent 6f46504d18
commit 2ba155944a

View file

@ -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;
}
}
}
}