mirror of
https://github.com/yuaotian/go-cursor-help.git
synced 2025-08-03 06:17:36 +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
|
# Binary files
|
||||||
*.exe
|
|
||||||
*.dll
|
*.dll
|
||||||
*.so
|
*.so
|
||||||
*.dylib
|
*.dylib
|
||||||
|
@ -42,7 +42,7 @@ curl -fsSL https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/
|
|||||||
|
|
||||||
**Windows** (Run in PowerShell as Admin)
|
**Windows** (Run in PowerShell as Admin)
|
||||||
```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
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Manual Method
|
#### Manual Method
|
||||||
@ -61,7 +61,7 @@ Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManage
|
|||||||
"telemetry.devDeviceId": "generate-new-uuid",
|
"telemetry.devDeviceId": "generate-new-uuid",
|
||||||
"telemetry.sqmId": "generate-new-uuid",
|
"telemetry.sqmId": "generate-new-uuid",
|
||||||
"lastModified": "2024-01-01T00:00:00.000Z",
|
"lastModified": "2024-01-01T00:00:00.000Z",
|
||||||
"version": "2.0.0"
|
"version": "2.5.0"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
5. Save the file and restart Cursor
|
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)
|
**Windows** (以管理员身份运行PowerShell)
|
||||||
```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.devDeviceId": "生成新的uuid",
|
||||||
"telemetry.sqmId": "生成新的uuid",
|
"telemetry.sqmId": "生成新的uuid",
|
||||||
"lastModified": "2024-01-01T00:00:00.000Z",
|
"lastModified": "2024-01-01T00:00:00.000Z",
|
||||||
"version": "2.0.0"
|
"version": "2.5.0"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
5. 保存文件并重启 Cursor
|
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
|
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
|
for /f "tokens=2 delims==" %%a in ('wmic os get OSLanguage /value') do set OSLanguage=%%a
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# 版本号 - 与其他文件保持一致
|
# 版本号 - 与其他文件保持一致
|
||||||
VERSION="2.0.0"
|
VERSION="2.5.0"
|
||||||
|
|
||||||
# 颜色定义
|
# 颜色定义
|
||||||
RED='\033[0;31m'
|
RED='\033[0;31m'
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Version / 版本号
|
# Version / 版本号
|
||||||
VERSION="v2.0.0"
|
VERSION="v2.5.0"
|
||||||
|
|
||||||
# Configuration / 配置
|
# Configuration / 配置
|
||||||
KEEP_BINARY=false
|
KEEP_BINARY=false
|
||||||
|
2
main.go
2
main.go
@ -32,7 +32,7 @@ const (
|
|||||||
EN Language = "en"
|
EN Language = "en"
|
||||||
|
|
||||||
// Version / 版本号
|
// Version / 版本号
|
||||||
Version = "2.0.0"
|
Version = "2.5.0"
|
||||||
|
|
||||||
// Error types / 错误类型
|
// Error types / 错误类型
|
||||||
ErrPermission = "permission_error"
|
ErrPermission = "permission_error"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
setlocal EnableDelayedExpansion
|
setlocal EnableDelayedExpansion
|
||||||
|
|
||||||
:: 设置版本信息
|
:: 设置版本信息
|
||||||
set VERSION=2.0.0
|
set VERSION=2.5.0
|
||||||
|
|
||||||
:: 设置颜色代码
|
:: 设置颜色代码
|
||||||
set "GREEN=[32m"
|
set "GREEN=[32m"
|
||||||
|
@ -6,7 +6,7 @@ RED='\033[0;31m'
|
|||||||
NC='\033[0m' # No Color
|
NC='\033[0m' # No Color
|
||||||
|
|
||||||
# 版本信息
|
# 版本信息
|
||||||
VERSION="2.0.0"
|
VERSION="2.5.0"
|
||||||
|
|
||||||
# 错误处理函数
|
# 错误处理函数
|
||||||
handle_error() {
|
handle_error() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user