fix(cookies): find Firefox profiles in the XDG config directory

Thanks to Natty for the report and the first fix.
This commit is contained in:
imSp4rky
2026-09-11 12:46:20 -06:00
parent 1939ebaf79
commit f43b90d6b6
@@ -24,6 +24,7 @@ def get_firefox_root() -> Path:
elif system == "Linux":
paths = [
home / ".mozilla" / "firefox",
Path(os.environ.get("XDG_CONFIG_HOME") or home / ".config") / "mozilla" / "firefox",
home / "snap" / "firefox" / "common" / ".mozilla" / "firefox",
home / ".var" / "app" / "org.mozilla.firefox" / ".mozilla" / "firefox",
]