mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
// Only convert relative paths if its a valid path
This commit is contained in:
parent
5c33b0d590
commit
b7900b22b0
1 changed files with 7 additions and 1 deletions
|
|
@ -58,7 +58,13 @@ namespace Flow.Launcher.Plugin
|
|||
{
|
||||
if (!string.IsNullOrEmpty(PluginDirectory) && !Path.IsPathRooted(value))
|
||||
{
|
||||
_icoPath = Path.Combine(value, IcoPath);
|
||||
string absPath = Path.Combine(value, IcoPath);
|
||||
// Only convert relative paths if its a valid path
|
||||
if (File.Exists(absPath))
|
||||
{
|
||||
_icoPath = Path.Combine(value, IcoPath);
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue