DOn't prepend pluginpath if IcoPath is a web URL

This commit is contained in:
Garulf 2022-08-30 01:51:31 -04:00
parent 03e319e200
commit fda155a0ba

View file

@ -131,7 +131,7 @@ namespace Flow.Launcher.Plugin
set
{
_pluginDirectory = value;
if (!string.IsNullOrEmpty(IcoPath) && !Path.IsPathRooted(IcoPath))
if (!string.IsNullOrEmpty(IcoPath) && !Path.IsPathRooted(IcoPath) && !IcoPath.StartsWith("http://") && !IcoPath.StartsWith("https://"))
{
IcoPath = Path.Combine(value, IcoPath);
}