Skip to content

Commit 57470a9

Browse files
committed
Fix IsRelative logic.
1 parent 33a5ca8 commit 57470a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Plugins/Flow.Launcher.Plugin.BrowserBookmark/FirefoxBookmarkLoader.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,8 @@ Current profiles.ini structure example as of Firefox version 69.0.1
370370

371371
var relativeAttribute = lines[indexOfDefaultProfileAttributePath - 1];
372372

373-
return relativeAttribute == "0" // See above, the profile is located in a custom location, path is not relative, so IsRelative=0
373+
// See above, the profile is located in a custom location, path is not relative, so IsRelative=0
374+
return (relativeAttribute == "0" || relativeAttribute == "IsRelative=0")
374375
? relativePath : absoluePath;
375376
}
376377
}

0 commit comments

Comments
 (0)