cursor-vip update

This commit is contained in:
kingparks@jeter.eu.org
2024-12-17 00:16:30 +08:00
parent 5cde484d0a
commit 436760f6d4
4 changed files with 6 additions and 6 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -45,7 +45,7 @@ func Run() (productSelected string, modelIndexSelected int) {
switch params.Lang {
case "zh":
params.Trr = &params.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 = &params.Tr{Locale: i18n.Locale{Lang: "nl"}}
case "ru":