Commit Graph

13 Commits

Author SHA1 Message Date
chengchongzhen
04563462e4 refactor: streamline cookie retrieval and enhance error handling in account management scripts 2024-12-31 16:26:09 +08:00
chengchongzhen
50e69cd51c refactor: remove deprecated config files and update logging in account management scripts 2024-12-31 13:21:07 +08:00
cheng zhen
b7cd4bd55b feat: 直接注册 2024-12-30 23:16:45 +08:00
chengchongzhen
dbf8690753 feat: 实现许可证激活和验证功能,增加许可证管理服务器 2024-12-30 13:39:24 +08:00
chengchongzhen
8728e0bff3 feat: 增加使用限制 2024-12-30 12:55:28 +08:00
cheng zhen
b604d0cd07 feat: 增加了判断邮箱是否错误 2024-12-29 12:49:39 +08:00
cheng zhen
b72085e5dd refactor: remove redundant print statements in cursor_auth_manager.py and cursor_pro_keep_alive.py 2024-12-29 10:09:05 +08:00
cheng zhen
2c02a38699 feat: 删除无用的东西 2024-12-29 10:01:02 +08:00
cheng zhen
1757e5ed2f Add browser management and email verification functionality
- Introduced `BrowserManager` class in `browser_utils.py` for streamlined browser initialization and configuration.
- Added `EmailVerificationHandler` class in `get_veri_code.py` to handle email verification code retrieval.
- Updated `cursor_pro_keep_alive.py` to utilize the new browser and email handling classes, improving code organization and readability.
- Modified `config.ini` to update the email address for account configuration.
- Removed obsolete `log.txt` file to clean up the project structure.
- Added unit tests for email verification functionality in `test/get_veri_code_test.py`.
2024-12-28 21:56:48 +08:00
cheng zhen
b3c9efc901 Refactor cursor_pro_keep_alive.py and remove obsolete files
- Updated environment variable assignments to use double quotes for consistency.
- Enhanced logging configuration format for clarity.
- Improved configuration loading logic to correctly determine the executable's directory.
- Cleaned up temporary file handling in cleanup_temp_files function.
- Removed obsolete config.ini and related files from the dist directory.
- Deleted unnecessary macOS application files from the dist folder.
2024-12-28 20:34:34 +08:00
cheng zhen
a1002131a8 Enhance cursor_pro_keep_alive.py and update packaging
- Added logging functionality to cursor_pro_keep_alive.py for better error tracking.
- Improved configuration loading to handle frozen executables and updated success message.
- Introduced cleanup_temp_files function to remove temporary directories.
- Refactored browser options setup into a separate function for clarity.
- Updated .gitignore to include virtual environment directory.
- Enhanced CursorKeepAlive.spec to check for config.ini existence and updated app bundle details.
- Added new files for macOS app packaging, including Info.plist and application icon.
2024-12-28 20:05:29 +08:00
chengchongzhen
61e93e08c9 Refactor cursor_pro_keep_alive.py and update packaging
- Simplified configuration loading message in cursor_pro_keep_alive.py.
- Improved error message for missing config file.
- Renamed executable from 'cursor_pro_keep_alive' to 'cursorPro' in CursorKeepAlive.spec.
- Removed obsolete config file from dist directory.
- Added new executable 'cursorPro.exe' to dist folder.
- Updated README.md to reflect changes in file structure and installation instructions.
2024-12-28 16:31:30 +08:00
chengchongzhen
d48b1a9d6d Add initial implementation of Cursor Pro Keep Alive tool
- Created .gitignore to exclude unnecessary files.
- Added config.ini for account configuration.
- Implemented cursor_auth_manager.py for managing authentication.
- Developed cursor_pro_keep_alive.py for automated account management.
- Included CursorKeepAlive.spec for packaging.
- Added gpt-accesstoken.py for obtaining ChatGPT access tokens.
- Created README.md with usage instructions.
- Updated requirements.txt with necessary dependencies.
- Added run_cursor.bat for script execution.
- Implemented update_cursor_auth.py for updating authentication details.
- Included turnstilePatch for handling CAPTCHA challenges.
- Added logging functionality in log.txt for tracking script execution.
- Created dist folder with packaged executable and necessary files.
2024-12-28 15:14:40 +08:00