diff --git a/CursorKeepAlive.spec b/CursorKeepAlive.spec index ab1c074..5383221 100644 --- a/CursorKeepAlive.spec +++ b/CursorKeepAlive.spec @@ -26,7 +26,7 @@ exe = EXE( a.binaries, a.datas, [], - name='cursor_pro_keep_alive', + name='cursorPro', debug=False, bootloader_ignore_signals=False, strip=False, diff --git a/cursor_pro_keep_alive.py b/cursor_pro_keep_alive.py index f32a7e9..3520bf9 100644 --- a/cursor_pro_keep_alive.py +++ b/cursor_pro_keep_alive.py @@ -19,7 +19,7 @@ def load_config(): if os.path.exists(config_path): config.read(config_path, encoding="utf-8") - print(f"已加载配置文件: {config_path}") + print("已加载配置文件") return { "account": config["Account"]["email"], "password": config["Account"]["password"], @@ -445,7 +445,7 @@ if __name__ == "__main__": # 添加等待用户输入后再退出 input("\n按回车键退出...") except FileNotFoundError as e: - print(f"���误: {e}") + print(f"错误: {e}") print("请确保 config.ini 文件存在并包含正确的配置信息") input("\n按回车键退出...") except Exception as e: diff --git a/dist/config - 副本.ini b/dist/config - 副本.ini deleted file mode 100644 index 887fc44..0000000 --- a/dist/config - 副本.ini +++ /dev/null @@ -1,5 +0,0 @@ -[Account] -email = xxxx -password = xxx -first_name = xxxx -last_name = xxxx diff --git a/dist/cursorPro.exe b/dist/cursorPro.exe new file mode 100644 index 0000000..bb439aa Binary files /dev/null and b/dist/cursorPro.exe differ diff --git a/dist/readme.md b/dist/readme.md index e18c662..7dc7064 100644 --- a/dist/readme.md +++ b/dist/readme.md @@ -5,22 +5,16 @@ ## 1. 软件介绍 Cursor Pro Keep Alive 是一个自动化工具,用于管理 Cursor 账号的注册和更新。该工具可以自动执行账号删除和重新注册流程,以保持账号活跃。 +> 在执行之前,一定要确保账号是通过 https://tempmail.plus/zh 获取的临时邮箱注册了 cursor账号。在注册账号时要设置好名字和密码。 + ## 2. 安装和准备 ### 2.1 必要文件 确保您有以下文件: - `cursor_pro_keep_alive.exe` - 主程序 - `config.ini` - 配置文件 -- `turnstilePatch` - 插件文件夹 -### 2.2 文件结构 -``` -your_folder/ -├── cursor_pro_keep_alive.exe -├── config.ini -└── turnstilePatch/ - └── (插件文件) -``` + ## 3. 配置文件设置 @@ -59,15 +53,6 @@ last_name = your_lastname # 姓氏 错误提示:`配置文件不存在` - 解决方法:确保 `config.ini` 文件在程序同目录下 -### 5.2 插件加载失败 -错误提示:`插件不存在` -- 解决方法:确保 `turnstilePatch` 文件夹在程序同目录下 -- 注意:即使插件加载失败,程序仍会继续执行 - -### 5.3 账号注册失败 -- 检查邮箱格式是否正确(必须是 mailto.plus) -- 确保密码符合要求 -- 检查网络连接是否正常 ## 6. 注意事项