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

Commit 7289d11

Browse files
authored
Merge pull request #209 from Rygtx/main
feat: Integrate go-cursor-help for machine ID reset and update README with project acknowledgments
2 parents 840c439 + 793920e commit 7289d11

File tree

4 files changed

+42
-1
lines changed

4 files changed

+42
-1
lines changed

README.EN.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,10 @@ Please refer to our [online documentation](https://cursor-auto-free-doc.vercel.a
3838
- **2025-01-11**: Added headless mode and proxy configuration through .env file.
3939
- **2025-01-20**: Added IMAP to replace tempmail.plus.
4040

41+
## Special Thanks
42+
This project has received support and help from many open source projects and community members. We would like to express our special gratitude to:
43+
44+
### Open Source Projects
45+
- [go-cursor-help](https://github.com/yuaotian/go-cursor-help) - An excellent Cursor machine code reset tool with 9.1k Stars. Our machine code reset functionality is implemented using this project, which is one of the most popular Cursor auxiliary tools.
46+
4147
Inspired by [gpt-cursor-auto](https://github.com/hmhm2022/gpt-cursor-auto); optimized verification and email auto-registration logic; solved the issue of not being able to receive email verification codes.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@
3030
## 感谢 linuxDo 这个开源社区(一个真正的技术社区)
3131
https://linux.do/
3232

33+
## 特别鸣谢
34+
本项目的开发过程中得到了众多开源项目和社区成员的支持与帮助,在此特别感谢:
3335

36+
### 开源项目
37+
- [go-cursor-help](https://github.com/yuaotian/go-cursor-help) - 一个优秀的 Cursor 机器码重置工具,本项目的机器码重置功能使用该项目实现。该项目目前已获得 9.1k Stars,是最受欢迎的 Cursor 辅助工具之一。
3438

3539
## 请我喝杯茶
3640
<img src="./screen/28613e3f3f23a935b66a7ba31ff4e3f.jpg" width="300"/> <img src="./screen/mm_facetoface_collect_qrcode_1738583247120.png" width="300"/>

cursor_pro_keep_alive.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
from typing import Optional
88

99
from exit_cursor import ExitCursor
10+
import go_cursor_help
1011
import patch_cursor_get_machine_id
1112
from reset_machine import MachineIDResetter
1213

@@ -376,7 +377,8 @@ def check_cursor_version():
376377

377378
def reset_machine_id(greater_than_0_45):
378379
if greater_than_0_45:
379-
print("重置id: 请搜索go-cursor-help")
380+
# 提示请手动执行脚本 https://github.com/chengazhen/cursor-auto-free/blob/main/patch_cursor_get_machine_id.py
381+
go_cursor_help.go_cursor_help()
380382
else:
381383
MachineIDResetter().reset_machine_ids()
382384

go_cursor_help.py

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import platform
2+
import os
3+
import subprocess
4+
from logger import logging
5+
6+
def go_cursor_help():
7+
system = platform.system()
8+
logging.info(f"当前操作系统: {system}")
9+
10+
base_url = "https://aizaozao.com/accelerate.php/https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run"
11+
12+
if system == "Darwin": # macOS
13+
cmd = f'curl -fsSL {base_url}/cursor_mac_id_modifier.sh | sudo bash'
14+
logging.info("执行macOS命令")
15+
os.system(cmd)
16+
elif system == "Linux":
17+
cmd = f'curl -fsSL {base_url}/cursor_linux_id_modifier.sh | sudo bash'
18+
logging.info("执行Linux命令")
19+
os.system(cmd)
20+
elif system == "Windows":
21+
cmd = f'irm {base_url}/cursor_win_id_modifier.ps1 | iex'
22+
logging.info("执行Windows命令")
23+
# 在Windows上使用PowerShell执行命令
24+
subprocess.run(["powershell", "-Command", cmd], shell=True)
25+
else:
26+
logging.error(f"不支持的操作系统: {system}")
27+
return False
28+
29+
return True

0 commit comments

Comments
 (0)