- 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.
11 lines
294 B
Batchfile
11 lines
294 B
Batchfile
@echo off
|
|
:: 设置控制台代码页为 UTF-8
|
|
chcp 65001
|
|
:: 设置 Python 环境变量为 UTF-8
|
|
set PYTHONIOENCODING=utf-8
|
|
|
|
echo [%date% %time%] 开始执行脚本 >> log.txt
|
|
cd /d "%~dp0"
|
|
python cursor_pro_keep_alive.py >> log.txt 2>&1
|
|
echo [%date% %time%] 脚本执行完成 >> log.txt
|
|
pause |