mirror of
https://github.com/yeongpin/cursor-free-vip.git
synced 2025-10-16 22:21:20 +08:00
refactor: Simplify profile selection process in OAuthHandler
- Removed the user data directory retrieval in main.py for cleaner profile selection. - Updated profile selection logic to include an exit option in oauth_auth.py. - Enhanced user prompts in multiple languages to improve user experience during profile selection.
This commit is contained in:
4
main.py
4
main.py
@@ -618,9 +618,7 @@ def main():
|
||||
elif choice == "13":
|
||||
from oauth_auth import OAuthHandler
|
||||
oauth = OAuthHandler(translator)
|
||||
user_data_dir = oauth._get_user_data_directory()
|
||||
if user_data_dir:
|
||||
oauth._select_profile(user_data_dir)
|
||||
oauth._select_profile()
|
||||
print_menu()
|
||||
elif choice == "14":
|
||||
import delete_cursor_google
|
||||
|
Reference in New Issue
Block a user