diff --git a/cursor_auth.py b/cursor_auth.py index c2a2bbe..cff55d4 100644 --- a/cursor_auth.py +++ b/cursor_auth.py @@ -26,6 +26,10 @@ class CursorAuth: self.db_path = os.path.join( os.getenv("APPDATA"), "Cursor", "User", "globalStorage", "state.vscdb" ) + elif os.name =='posix': + self.db_path = os.path.expanduser( + "~/.config/Cursor/User/globalStorage/state.vscdb" + ) else: # macOS self.db_path = os.path.expanduser( "~/Library/Application Support/Cursor/User/globalStorage/state.vscdb"