aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-06-29 01:35:34 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2023-06-29 22:15:55 +0200
commitd11a244ede1ce3af807e3f0007cf5a3ba60ada99 (patch)
treef5e55cff413f4e28ca01fb47b8416dcdb66fb92d
parent6e8b8f80177937b99bb4fc74f62300632f0a4eae (diff)
downloadwee-slack-d11a244ede1ce3af807e3f0007cf5a3ba60ada99.tar.gz
Fix path to Chrome profile on macOS
-rwxr-xr-xextract_token_from_browser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/extract_token_from_browser.py b/extract_token_from_browser.py
index 4b54436..c6f5cb3 100755
--- a/extract_token_from_browser.py
+++ b/extract_token_from_browser.py
@@ -81,7 +81,7 @@ elif sys.platform.startswith("darwin"):
"Library/Application Support/Firefox/Profiles"
)
elif args.browser in ["chrome", "chrome-beta"]:
- browser_data = Path.home().joinpath("Library/Application Support/Chrome")
+ browser_data = Path.home().joinpath("Library/Application Support/Google/Chrome")
else:
print(
f'Unsupported browser "{args.browser}" on platform macOS.', file=sys.stderr