Fix IsRelative logic.

This commit is contained in:
Jack251970 2025-06-06 13:21:51 +08:00
parent 33a5ca845a
commit 57470a9799

View file

@ -370,7 +370,8 @@ public class FirefoxBookmarkLoader : FirefoxBookmarkLoaderBase
var relativeAttribute = lines[indexOfDefaultProfileAttributePath - 1];
return relativeAttribute == "0" // See above, the profile is located in a custom location, path is not relative, so IsRelative=0
// See above, the profile is located in a custom location, path is not relative, so IsRelative=0
return (relativeAttribute == "0" || relativeAttribute == "IsRelative=0")
? relativePath : absoluePath;
}
}