mirror of
https://github.com/yeongpin/cursor-free-vip.git
synced 2025-10-04 00:36:32 +08:00
add support for linux
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user