mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-12 20:15:10 +00:00
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:
@@ -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",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user