mirror of
https://github.com/yuaotian/go-cursor-help.git
synced 2025-06-08 04:22:06 +08:00
Remove Makefile and update README for improved clarity and installation instructions
- Deleted the Makefile as it was no longer needed for the build process. - Enhanced the README with clearer installation instructions, including a one-click solution for Linux/macOS and Windows. - Improved formatting and added details for system support and configuration files. - Updated the project stats section for better visibility. These changes streamline the documentation and improve user experience for installation and usage of the Cursor ID Modifier tool.
This commit is contained in:
parent
99e31a7bba
commit
dae6dbcdaa
21
Makefile
21
Makefile
@ -1,21 +0,0 @@
|
|||||||
.PHONY: build clean test vet
|
|
||||||
|
|
||||||
# Build the application
|
|
||||||
build:
|
|
||||||
go build -v ./cmd/cursor-id-modifier
|
|
||||||
|
|
||||||
# Clean build artifacts
|
|
||||||
clean:
|
|
||||||
rm -f cursor-id-modifier
|
|
||||||
go clean
|
|
||||||
|
|
||||||
# Run tests
|
|
||||||
test:
|
|
||||||
go test -v ./...
|
|
||||||
|
|
||||||
# Run go vet
|
|
||||||
vet:
|
|
||||||
go vet ./...
|
|
||||||
|
|
||||||
# Run all checks
|
|
||||||
all: vet test build
|
|
151
README.md
151
README.md
@ -6,19 +6,21 @@
|
|||||||
[](https://github.com/dacrab/cursor-id-modifier/blob/main/LICENSE)
|
[](https://github.com/dacrab/cursor-id-modifier/blob/main/LICENSE)
|
||||||
[](https://github.com/dacrab/cursor-id-modifier/stargazers)
|
[](https://github.com/dacrab/cursor-id-modifier/stargazers)
|
||||||
|
|
||||||
[English](#-english) | [中文](#-chinese)
|
[🌟 English](#english) | [🌏 中文](#chinese)
|
||||||
|
|
||||||
<img src="https://ai-cursor.com/wp-content/uploads/2024/09/logo-cursor-ai-png.webp" alt="Cursor Logo" width="120"/>
|
<img src="https://ai-cursor.com/wp-content/uploads/2024/09/logo-cursor-ai-png.webp" alt="Cursor Logo" width="120"/>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
# 🌟 English
|
---
|
||||||
|
|
||||||
|
## 🌟 English
|
||||||
|
|
||||||
### 📝 Description
|
### 📝 Description
|
||||||
|
|
||||||
Resets Cursor's free trial limitation when you see:
|
> Resets Cursor's free trial limitation when you see:
|
||||||
|
|
||||||
```
|
```text
|
||||||
Too many free trial accounts used on this machine.
|
Too many free trial accounts used on this machine.
|
||||||
Please upgrade to pro. We have this limit in place
|
Please upgrade to pro. We have this limit in place
|
||||||
to prevent abuse. Please let us know if you believe
|
to prevent abuse. Please let us know if you believe
|
||||||
@ -27,81 +29,120 @@ this is a mistake.
|
|||||||
|
|
||||||
### 💻 System Support
|
### 💻 System Support
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
|
||||||
**Windows** ✅
|
**Windows** ✅
|
||||||
- x64 (64-bit)
|
- x64 (64-bit)
|
||||||
- x86 (32-bit)
|
- x86 (32-bit)
|
||||||
|
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
|
||||||
**macOS** ✅
|
**macOS** ✅
|
||||||
- Intel (x64)
|
- Intel (x64)
|
||||||
- Apple Silicon (M1/M2)
|
- Apple Silicon (M1/M2)
|
||||||
|
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
|
||||||
**Linux** ✅
|
**Linux** ✅
|
||||||
- x64 (64-bit)
|
- x64 (64-bit)
|
||||||
- x86 (32-bit)
|
- x86 (32-bit)
|
||||||
- ARM64
|
- ARM64
|
||||||
|
|
||||||
### 📥 One-Click Solution
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
### 🚀 One-Click Solution
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>Linux/macOS</b>: Copy and paste in terminal</summary>
|
||||||
|
|
||||||
**Linux/macOS**: Copy and paste in terminal:
|
|
||||||
```bash
|
```bash
|
||||||
curl -fsSL https://raw.githubusercontent.com/dacrab/cursor-id-modifier/main/scripts/install.sh | sudo bash && cursor-id-modifier
|
curl -fsSL https://raw.githubusercontent.com/dacrab/cursor-id-modifier/main/scripts/install.sh | sudo bash && cursor-id-modifier
|
||||||
```
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>Windows</b>: Copy and paste in PowerShell (Admin)</summary>
|
||||||
|
|
||||||
**Windows**: Copy and paste in PowerShell (Admin):
|
|
||||||
```powershell
|
```powershell
|
||||||
irm https://raw.githubusercontent.com/dacrab/cursor-id-modifier/main/scripts/install.ps1 | iex; cursor-id-modifier
|
irm https://raw.githubusercontent.com/dacrab/cursor-id-modifier/main/scripts/install.ps1 | iex; cursor-id-modifier
|
||||||
```
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
That's it! The script will:
|
That's it! The script will:
|
||||||
1. Install the tool automatically
|
1. ✨ Install the tool automatically
|
||||||
2. Reset your Cursor trial immediately
|
2. 🔄 Reset your Cursor trial immediately
|
||||||
|
|
||||||
### 🔧 Manual Installation
|
### 📦 Manual Installation
|
||||||
|
|
||||||
Download the appropriate file for your system from [releases](https://github.com/dacrab/cursor-id-modifier/releases/latest):
|
> Download the appropriate file for your system from [releases](https://github.com/dacrab/cursor-id-modifier/releases/latest)
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Windows Packages</summary>
|
||||||
|
|
||||||
**Windows**:
|
|
||||||
- 64-bit: `cursor-id-modifier_vX.X.X_Windows_x64.zip`
|
- 64-bit: `cursor-id-modifier_vX.X.X_Windows_x64.zip`
|
||||||
- 32-bit: `cursor-id-modifier_vX.X.X_Windows_x86.zip`
|
- 32-bit: `cursor-id-modifier_vX.X.X_Windows_x86.zip`
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>macOS Packages</summary>
|
||||||
|
|
||||||
**macOS**:
|
|
||||||
- Intel: `cursor-id-modifier_vX.X.X_macOS_x64_intel.tar.gz`
|
- Intel: `cursor-id-modifier_vX.X.X_macOS_x64_intel.tar.gz`
|
||||||
- M1/M2: `cursor-id-modifier_vX.X.X_macOS_arm64_apple_silicon.tar.gz`
|
- M1/M2: `cursor-id-modifier_vX.X.X_macOS_arm64_apple_silicon.tar.gz`
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Linux Packages</summary>
|
||||||
|
|
||||||
**Linux**:
|
|
||||||
- 64-bit: `cursor-id-modifier_vX.X.X_Linux_x64.tar.gz`
|
- 64-bit: `cursor-id-modifier_vX.X.X_Linux_x64.tar.gz`
|
||||||
- 32-bit: `cursor-id-modifier_vX.X.X_Linux_x86.tar.gz`
|
- 32-bit: `cursor-id-modifier_vX.X.X_Linux_x86.tar.gz`
|
||||||
- ARM64: `cursor-id-modifier_vX.X.X_Linux_arm64.tar.gz`
|
- ARM64: `cursor-id-modifier_vX.X.X_Linux_arm64.tar.gz`
|
||||||
|
</details>
|
||||||
|
|
||||||
### 🔧 Technical Details
|
### 🔧 Technical Details
|
||||||
|
|
||||||
#### Configuration Files
|
<details>
|
||||||
|
<summary><b>Configuration Files</b></summary>
|
||||||
|
|
||||||
The program modifies Cursor's `storage.json` config file located at:
|
The program modifies Cursor's `storage.json` config file located at:
|
||||||
|
|
||||||
- Windows: `%APPDATA%\Cursor\User\globalStorage\storage.json`
|
- Windows: `%APPDATA%\Cursor\User\globalStorage\storage.json`
|
||||||
- macOS: `~/Library/Application Support/Cursor/User/globalStorage/storage.json`
|
- macOS: `~/Library/Application Support/Cursor/User/globalStorage/storage.json`
|
||||||
- Linux: `~/.config/Cursor/User/globalStorage/storage.json`
|
- Linux: `~/.config/Cursor/User/globalStorage/storage.json`
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>Modified Fields</b></summary>
|
||||||
|
|
||||||
#### Modified Fields
|
|
||||||
The tool generates new unique identifiers for:
|
The tool generates new unique identifiers for:
|
||||||
- `telemetry.machineId`
|
- `telemetry.machineId`
|
||||||
- `telemetry.macMachineId`
|
- `telemetry.macMachineId`
|
||||||
- `telemetry.devDeviceId`
|
- `telemetry.devDeviceId`
|
||||||
- `telemetry.sqmId`
|
- `telemetry.sqmId`
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>Safety Features</b></summary>
|
||||||
|
|
||||||
#### Safety Features
|
|
||||||
- ✅ Safe process termination
|
- ✅ Safe process termination
|
||||||
- ✅ Atomic file operations
|
- ✅ Atomic file operations
|
||||||
- ✅ Error handling and recovery
|
- ✅ Error handling and recovery
|
||||||
|
</details>
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
# 🌏 Chinese
|
## 🌏 Chinese
|
||||||
|
|
||||||
### 📝 问题描述
|
### 📝 问题描述
|
||||||
|
|
||||||
当看到以下提示时重置Cursor试用期:
|
> 当看到以下提示时重置Cursor试用期:
|
||||||
|
|
||||||
```
|
```text
|
||||||
Too many free trial accounts used on this machine.
|
Too many free trial accounts used on this machine.
|
||||||
Please upgrade to pro. We have this limit in place
|
Please upgrade to pro. We have this limit in place
|
||||||
to prevent abuse. Please let us know if you believe
|
to prevent abuse. Please let us know if you believe
|
||||||
@ -110,57 +151,97 @@ this is a mistake.
|
|||||||
|
|
||||||
### 💻 系统支持
|
### 💻 系统支持
|
||||||
|
|
||||||
**Windows** ✅ x64 & x86
|
<table>
|
||||||
**macOS** ✅ Intel & M-series
|
<tr>
|
||||||
**Linux** ✅ x64 & ARM64
|
<td>
|
||||||
|
|
||||||
### 📥 一键解决
|
**Windows** ✅
|
||||||
|
- x64 & x86
|
||||||
|
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
|
||||||
|
**macOS** ✅
|
||||||
|
- Intel & M-series
|
||||||
|
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
|
||||||
|
**Linux** ✅
|
||||||
|
- x64 & ARM64
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
### 🚀 一键解决
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>Linux/macOS</b>: 在终端中复制粘贴</summary>
|
||||||
|
|
||||||
**Linux/macOS**: 在终端中复制粘贴:
|
|
||||||
```bash
|
```bash
|
||||||
curl -fsSL https://raw.githubusercontent.com/dacrab/cursor-id-modifier/main/scripts/install.sh | sudo bash && cursor-id-modifier
|
curl -fsSL https://raw.githubusercontent.com/dacrab/cursor-id-modifier/main/scripts/install.sh | sudo bash && cursor-id-modifier
|
||||||
```
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>Windows</b>: 在PowerShell(管理员)中复制粘贴</summary>
|
||||||
|
|
||||||
**Windows**: 在PowerShell(管理员)中复制粘贴:
|
|
||||||
```powershell
|
```powershell
|
||||||
irm https://raw.githubusercontent.com/dacrab/cursor-id-modifier/main/scripts/install.ps1 | iex; cursor-id-modifier
|
irm https://raw.githubusercontent.com/dacrab/cursor-id-modifier/main/scripts/install.ps1 | iex; cursor-id-modifier
|
||||||
```
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
就这样!脚本会:
|
就这样!脚本会:
|
||||||
1. 自动安装工具
|
1. ✨ 自动安装工具
|
||||||
2. 立即重置Cursor试用期
|
2. 🔄 立即重置Cursor试用期
|
||||||
|
|
||||||
### 🔧 技术细节
|
### 🔧 技术细节
|
||||||
|
|
||||||
#### 配置文件
|
<details>
|
||||||
|
<summary><b>配置文件</b></summary>
|
||||||
|
|
||||||
程序修改Cursor的`storage.json`配置文件,位于:
|
程序修改Cursor的`storage.json`配置文件,位于:
|
||||||
|
|
||||||
- Windows: `%APPDATA%\Cursor\User\globalStorage\`
|
- Windows: `%APPDATA%\Cursor\User\globalStorage\`
|
||||||
- macOS: `~/Library/Application Support/Cursor/User/globalStorage/`
|
- macOS: `~/Library/Application Support/Cursor/User/globalStorage/`
|
||||||
- Linux: `~/.config/Cursor/User/globalStorage/`
|
- Linux: `~/.config/Cursor/User/globalStorage/`
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>修改字段</b></summary>
|
||||||
|
|
||||||
#### 修改字段
|
|
||||||
工具会生成新的唯一标识符:
|
工具会生成新的唯一标识符:
|
||||||
- `telemetry.machineId`
|
- `telemetry.machineId`
|
||||||
- `telemetry.macMachineId`
|
- `telemetry.macMachineId`
|
||||||
- `telemetry.devDeviceId`
|
- `telemetry.devDeviceId`
|
||||||
- `telemetry.sqmId`
|
- `telemetry.sqmId`
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>安全特性</b></summary>
|
||||||
|
|
||||||
#### 安全特性
|
|
||||||
- ✅ 安全的进程终止
|
- ✅ 安全的进程终止
|
||||||
- ✅ 原子文件操作
|
- ✅ 原子文件操作
|
||||||
- ✅ 错误处理和恢复
|
- ✅ 错误处理和恢复
|
||||||
|
</details>
|
||||||
|
|
||||||
## ⭐ Star History or Repobeats
|
---
|
||||||
|
|
||||||
|
## ⭐ Project Stats
|
||||||
|
|
||||||
|
<div align="center">
|
||||||
|
|
||||||
[](https://star-history.com/#yuaotian/go-cursor-help&Date)
|
[](https://star-history.com/#yuaotian/go-cursor-help&Date)
|
||||||
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
## 📄 License
|
## 📄 License
|
||||||
|
|
||||||
MIT License
|
<details>
|
||||||
|
<summary><b>MIT License</b></summary>
|
||||||
|
|
||||||
Copyright (c) 2024
|
Copyright (c) 2024
|
||||||
|
|
||||||
@ -173,4 +254,4 @@ furnished to do so, subject to the following conditions:
|
|||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
The above copyright notice and this permission notice shall be included in all
|
||||||
copies or substantial portions of the Software.
|
copies or substantial portions of the Software.
|
||||||
|
</details>
|
||||||
|
0
scripts/build_all.sh
Normal file → Executable file
0
scripts/build_all.sh
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user