Commit Graph

166 Commits

Author SHA1 Message Date
cheng zhen
b604d0cd07 feat: 增加了判断邮箱是否错误 2024-12-29 12:49:39 +08:00
cheng zhen
d5944cd70e docs: update README to include Chrome browser requirement 2024-12-29 11:19:04 +08:00
cheng zhen
076c9c8f19 feat:增加工作流 2024-12-29 10:42:30 +08:00
cheng zhen
9838873ddf feat:增加工作流 2024-12-29 10:40:33 +08:00
cheng zhen
abc60df75c feat:增加工作流 2024-12-29 10:39:45 +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
8c9c0a4dff doc: readme 2024-12-29 09:02:21 +08:00
cheng zhen
7dc3af0798 feat: 优化打包 2024-12-29 08:59:43 +08:00
cheng zhen
bd45b1f1a6 feat: 设置无头浏览器 2024-12-28 22:05:09 +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
85c83a9d62 Implement build system for Cursor Pro with platform-specific packaging
- Added build.py script to automate the packaging process for macOS and Windows.
- Created CursorKeepAlive.mac.spec and CursorKeepAlive.win.spec for application specifications.
- Updated .gitignore to exclude build artifacts and IDE files.
- Enhanced directory structure for output files and included configuration file handling in the build process.
2024-12-28 20:08:49 +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