mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-22 00:45: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":
|
elif system == "Linux":
|
||||||
paths = [
|
paths = [
|
||||||
home / ".mozilla" / "firefox",
|
home / ".mozilla" / "firefox",
|
||||||
|
Path(os.environ.get("XDG_CONFIG_HOME") or home / ".config") / "mozilla" / "firefox",
|
||||||
home / "snap" / "firefox" / "common" / ".mozilla" / "firefox",
|
home / "snap" / "firefox" / "common" / ".mozilla" / "firefox",
|
||||||
home / ".var" / "app" / "org.mozilla.firefox" / ".mozilla" / "firefox",
|
home / ".var" / "app" / "org.mozilla.firefox" / ".mozilla" / "firefox",
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user