cursor-vip update

This commit is contained in:
kingparks@jeter.eu.org
2025-03-24 15:36:06 +08:00
parent 016599da50
commit 0609bc5d77
4 changed files with 29 additions and 10 deletions

12
docs/csrutil.md Normal file
View File

@@ -0,0 +1,12 @@
### Solve 'Too many free trials'
> 🌐️ English | [中文](csrutil_CN.md)
> Mac users can temporarily disable SIP, then run cursor-vip to solve this problem, and you can enable SIP after solving it
#### MacOS Apple Silicon
Press and hold the power button when starting up until the settings appear, then release it. Click the "Options" button to continue. From the top menu bar, click "Utilities" and select "Terminal". Enter「csrutil disable」and press Enter. Click the  menu and select "Restart".
#### MacOS Intel CPU
Press and hold Command ⌘ + R on the keyboard immediately when starting up until you see the Apple logo or a spinning globe, then release it. From the top menu bar, click "Utilities" and select "Terminal". Enter「csrutil disable」and press Enter. Click the  menu and select "Restart".

15
docs/csrutil_CN.md Normal file
View File

@@ -0,0 +1,15 @@
### Too many free trials 解决方案
> 🌐️ 中文 | [English](freeTrialsSolve.md)
> Mac 用户可以临时关闭SIP再执行 cursor-vip 即可解决这个问题解决后可再次开启SIP
#### MacOS Apple Silicon
开机时长按开机键直到出现「设置」后松开点击「选项」按钮继续从上方的菜单栏点击「实用工具」选择「终端」输入「csrutil disable」后回车点击菜单栏  标志,选择「重新启动」
#### MacOS Intel CPU
开机时立即在键盘上按住 Command ⌘ + R直到看到 Apple 标志或旋转的地球时松开从上方的菜单栏点击「实用工具」选择「终端」输入「csrutil disable」后回车点击菜单栏  标志,选择「重新启动」
> 其他操作系统理论上直接运行 cursor-vip 即可,如果不行,可以联系我远程看看是什么问题

View File

@@ -6,7 +6,7 @@
#### MacOS Apple Silicon
Press and hold the power button when starting up until the settings appear, then release it. Click the "Options" button to continue. From the top menu bar, click "Utilities" and select "Terminal". Enter csrutil disable and press Enter. Click the  menu and select "Restart".
Press and hold the power button when starting up until the settings appear, then release it. Click the "Options" button to continue. From the top menu bar, click "Utilities" and select "Terminal". Entercsrutil disableand press Enter. Click the  menu and select "Restart".
#### MacOS Intel CPU
Press and hold Command ⌘ + R on the keyboard immediately when starting up until you see the Apple logo or a spinning globe, then release it. From the top menu bar, click "Utilities" and select "Terminal". Enter csrutil disable and press Enter. Click the  menu and select "Restart".
Press and hold Command ⌘ + R on the keyboard immediately when starting up until you see the Apple logo or a spinning globe, then release it. From the top menu bar, click "Utilities" and select "Terminal". Entercsrutil disableand press Enter. Click the  menu and select "Restart".

View File

@@ -5,7 +5,6 @@ import (
"fmt"
"github.com/denisbrodbeck/machineid"
"github.com/gofrs/flock"
"github.com/kingparks/cursor-vip/authtool"
"github.com/kingparks/cursor-vip/tui/params"
"github.com/tidwall/gjson"
"howett.net/plist"
@@ -126,13 +125,6 @@ func GetConfig() (lang, promotion string, mode int64) {
}
if mode == 0 {
mode = 2
if !params.IsOnlyMod2 {
_, version := authtool.UpMainJs(true)
params.CursorVersion = version
if version > "0.46" {
mode = 3
}
}
}
if params.IsOnlyMod2 {
mode = 2