mirror of
https://github.com/yuaotian/go-cursor-help.git
synced 2025-06-08 12:32:06 +08:00
feat: Update version to 2.5.0 and enhance installation scripts
- Updated version number to 2.5.0 across all relevant files for consistency. - Removed obsolete version 2.0.0 binaries and added new binaries for version 2.5.0 for various platforms (Windows, Linux, macOS). - Updated installation scripts (`cursor_modifier.bat`, `cursor_modifier.sh`, `install.sh`, and `build_all` scripts) to reflect the new version. - Revised README.md to include updated installation instructions and links to the new binaries, ensuring users have accurate and up-to-date information. These changes collectively improve the application's usability and ensure users can access the latest version seamlessly.
This commit is contained in:
parent
98f6eab6de
commit
21aa297b39
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,4 @@
|
||||
# Binary files
|
||||
*.exe
|
||||
*.dll
|
||||
*.so
|
||||
*.dylib
|
||||
|
@ -42,7 +42,7 @@ curl -fsSL https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/
|
||||
|
||||
**Windows** (Run in PowerShell as Admin)
|
||||
```powershell
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/bin/cursor_id_modifier_v2.0.0_windows_amd64.exe')); Remove-Item -Path "$env:TEMP\cursor-id-modifier.exe" -ErrorAction SilentlyContinue
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/bin/cursor_id_modifier_v2.5.0_windows_amd64.exe')); Remove-Item -Path "$env:TEMP\cursor-id-modifier.exe" -ErrorAction SilentlyContinue
|
||||
```
|
||||
|
||||
#### Manual Method
|
||||
@ -61,7 +61,7 @@ Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManage
|
||||
"telemetry.devDeviceId": "generate-new-uuid",
|
||||
"telemetry.sqmId": "generate-new-uuid",
|
||||
"lastModified": "2024-01-01T00:00:00.000Z",
|
||||
"version": "2.0.0"
|
||||
"version": "2.5.0"
|
||||
}
|
||||
```
|
||||
5. Save the file and restart Cursor
|
||||
@ -137,7 +137,7 @@ curl -fsSL https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/
|
||||
|
||||
**Windows** (以管理员身份运行PowerShell)
|
||||
```powershell
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/bin/cursor_id_modifier_v2.0.0_windows_amd64.exe')); Remove-Item -Path "$env:TEMP\cursor-id-modifier.exe" -ErrorAction SilentlyContinue
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/bin/cursor_id_modifier_v2.5.0_windows_amd64.exe')); Remove-Item -Path "$env:TEMP\cursor-id-modifier.exe" -ErrorAction SilentlyContinue
|
||||
```
|
||||
|
||||
#### 手动方法
|
||||
@ -156,7 +156,7 @@ Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManage
|
||||
"telemetry.devDeviceId": "生成新的uuid",
|
||||
"telemetry.sqmId": "生成新的uuid",
|
||||
"lastModified": "2024-01-01T00:00:00.000Z",
|
||||
"version": "2.0.0"
|
||||
"version": "2.5.0"
|
||||
}
|
||||
```
|
||||
5. 保存文件并重启 Cursor
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
bin/cursor_id_modifier_v2.5.0_darwin_arm64_m1
Normal file
BIN
bin/cursor_id_modifier_v2.5.0_darwin_arm64_m1
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/cursor_id_modifier_v2.5.0_windows_amd64.exe
Normal file
BIN
bin/cursor_id_modifier_v2.5.0_windows_amd64.exe
Normal file
Binary file not shown.
@ -3,7 +3,7 @@ chcp 65001 >nul
|
||||
setlocal EnableDelayedExpansion
|
||||
|
||||
:: 版本号
|
||||
set "VERSION=2.0.0"
|
||||
set "VERSION=2.5.0"
|
||||
|
||||
:: 检测语言
|
||||
for /f "tokens=2 delims==" %%a in ('wmic os get OSLanguage /value') do set OSLanguage=%%a
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# 版本号 - 与其他文件保持一致
|
||||
VERSION="2.0.0"
|
||||
VERSION="2.5.0"
|
||||
|
||||
# 颜色定义
|
||||
RED='\033[0;31m'
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Version / 版本号
|
||||
VERSION="v2.0.0"
|
||||
VERSION="v2.5.0"
|
||||
|
||||
# Configuration / 配置
|
||||
KEEP_BINARY=false
|
||||
|
2
main.go
2
main.go
@ -32,7 +32,7 @@ const (
|
||||
EN Language = "en"
|
||||
|
||||
// Version / 版本号
|
||||
Version = "2.0.0"
|
||||
Version = "2.5.0"
|
||||
|
||||
// Error types / 错误类型
|
||||
ErrPermission = "permission_error"
|
||||
|
@ -2,7 +2,7 @@
|
||||
setlocal EnableDelayedExpansion
|
||||
|
||||
:: 设置版本信息
|
||||
set VERSION=2.0.0
|
||||
set VERSION=2.5.0
|
||||
|
||||
:: 设置颜色代码
|
||||
set "GREEN=[32m"
|
||||
|
@ -6,7 +6,7 @@ RED='\033[0;31m'
|
||||
NC='\033[0m' # No Color
|
||||
|
||||
# 版本信息
|
||||
VERSION="2.0.0"
|
||||
VERSION="2.5.0"
|
||||
|
||||
# 错误处理函数
|
||||
handle_error() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user