From f43b90d6b6c981b2fc3a08f554a8e3ad0e1d0c1e Mon Sep 17 00:00:00 2001 From: imSp4rky Date: Fri, 11 Sep 2026 12:46:20 -0600 Subject: [PATCH] fix(cookies): find Firefox profiles in the XDG config directory Thanks to Natty for the report and the first fix. --- unshackle/core/utils/firefox_cookie_extractor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/unshackle/core/utils/firefox_cookie_extractor.py b/unshackle/core/utils/firefox_cookie_extractor.py index a58f86d2..04787651 100644 --- a/unshackle/core/utils/firefox_cookie_extractor.py +++ b/unshackle/core/utils/firefox_cookie_extractor.py @@ -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", ]