Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

Commit 39e0fbd

Browse files
author
cheng zhen
committed
chore: 一些无关紧要的逻辑
(cherry picked from commit e82fc56)
1 parent 7289d11 commit 39e0fbd

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

cursor_pro_keep_alive.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,9 @@ def sign_up_account(browser, tab):
302302
usage_info = usage_ele.text
303303
total_usage = usage_info.split("/")[-1].strip()
304304
logging.info(f"账户可用额度上限: {total_usage}")
305+
logging.info(
306+
"请前往开源项目查看更多信息:https://github.com/chengazhen/cursor-auto-free"
307+
)
305308
except Exception as e:
306309
logging.error(f"获取账户额度信息失败: {str(e)}")
307310

@@ -431,7 +434,9 @@ def reset_machine_id(greater_than_0_45):
431434

432435
logging.info("正在初始化邮箱验证模块...")
433436
email_handler = EmailVerificationHandler()
434-
437+
logging.info(
438+
"请前往开源项目查看更多信息:https://github.com/chengazhen/cursor-auto-free"
439+
)
435440
logging.info("\n=== 配置信息 ===")
436441
login_url = "https://authenticator.cursor.sh"
437442
sign_up_url = "https://authenticator.cursor.sh/sign-up"
@@ -464,10 +469,13 @@ def reset_machine_id(greater_than_0_45):
464469
update_cursor_auth(
465470
email=account, access_token=token, refresh_token=token
466471
)
467-
472+
logging.info(
473+
"请前往开源项目查看更多信息:https://github.com/chengazhen/cursor-auto-free"
474+
)
468475
logging.info("重置机器码...")
469476
reset_machine_id(greater_than_0_45)
470477
logging.info("所有操作已完成")
478+
471479
else:
472480
logging.error("获取会话令牌失败,注册流程未完成")
473481

0 commit comments

Comments
 (0)