mirror of
https://github.com/kingparks/cursor-vip.git
synced 2025-09-26 19:11:14 +08:00
cursor-vip update
This commit is contained in:
12
docs/csrutil.md
Normal file
12
docs/csrutil.md
Normal 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
15
docs/csrutil_CN.md
Normal 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 即可,如果不行,可以联系我远程看看是什么问题
|
@@ -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". 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".
|
||||
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".
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user