mirror of
https://github.com/kingparks/cursor-vip.git
synced 2025-12-24 13:37:54 +08:00
cursor-vip update
This commit is contained in:
@@ -14,9 +14,9 @@ Method 1: Install via GitHub script
|
||||
```bash
|
||||
bash <(curl -Lk https://github.com/kingparks/cursor-vip/releases/download/latest/i.sh) githubReadme
|
||||
```
|
||||
Method 2: Install via ghp.ci proxy script
|
||||
Method 2: Install via Gitee script
|
||||
```bash
|
||||
bash <(curl -Lk https://ghp.ci/https://github.com/kingparks/cursor-vip/releases/download/latest/install.sh) githubReadme
|
||||
bash <(curl -Lk https://gitee.com/kingparks/cursor-vip/releases/download/latest/ic.sh) githubReadme
|
||||
```
|
||||
Method 3: Manually download the binary file
|
||||
> download the binary file for the corresponding operating system from the [release](https://github.com/kingparks/cursor-vip/releases) page
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
在 MacOS/Linux 中,请打开终端;在 Windows 中,请打开 Git Bash。然后执行以下命令来安装:
|
||||
> 部分电脑可能会误报毒,需要关闭杀毒软件/电脑管家/安全防护再进行
|
||||
|
||||
方式1:通过 ghp.ci 代理脚本
|
||||
方式1:通过 Gitee 脚本
|
||||
```bash
|
||||
bash <(curl -Lk https://ghp.ci/https://github.com/kingparks/cursor-vip/releases/download/latest/install.sh) githubReadme
|
||||
bash <(curl -Lk https://gitee.com/kingparks/cursor-vip/releases/download/latest/ic.sh) githubReadme
|
||||
```
|
||||
方式2:通过 GitHub 脚本
|
||||
```bash
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
set -e
|
||||
URLS=("https://ghp.ci/https://github.com/kingparks/cursor-vip/releases/download/latest/")
|
||||
URLS=("https://gitee.com/kingparks/cursor-vip/releases/download/latest/")
|
||||
url=${URLS[0]}
|
||||
lc_type=$(echo $LC_CTYPE | cut -c 1-2)
|
||||
if [ -z $lc_type ] || [ "$lc_type" = "UT" ]; then
|
||||
|
||||
@@ -45,7 +45,7 @@ func Run() (productSelected string, modelIndexSelected int) {
|
||||
switch params.Lang {
|
||||
case "zh":
|
||||
params.Trr = ¶ms.Tr{Locale: i18n.Locale{Lang: "zh"}}
|
||||
params.GithubPath = "https://ghp.ci/" + params.GithubPath
|
||||
params.GithubPath = strings.ReplaceAll(params.GithubPath, "https://github.com", "https://gitee.com")
|
||||
case "nl":
|
||||
params.Trr = ¶ms.Tr{Locale: i18n.Locale{Lang: "nl"}}
|
||||
case "ru":
|
||||
|
||||
Reference in New Issue
Block a user