Skip to content

Commit

Permalink
cursor-vip update
Browse files Browse the repository at this point in the history
  • Loading branch information
kingparks committed Jan 12, 2025
1 parent 235f780 commit 1799ce8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 17 deletions.
9 changes: 1 addition & 8 deletions build/i.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,7 @@ fi;
if [[ $os_name == "windows" ]]; then
# 停掉正在运行cursor-vip
taskkill -f -im cursor-vip.exe || true

# 检查 Desktop 目录是否存在
if [ -d "${USERPROFILE}/Desktop" ]; then
desktop_dir="${USERPROFILE}/Desktop"
else
desktop_dir="${USERPROFILE}/OneDrive/Desktop"
fi

desktop_dir=$(powershell -Command "[Environment]::GetFolderPath('Desktop')")
# 安装
curl -Lko ${desktop_dir}/cursor-vip.exe ${url}/cursor-vip_${os_name}_${hw_name}.exe
if [ "$lc_type" = "zh" ]; then
Expand Down
9 changes: 1 addition & 8 deletions build/ic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,7 @@ fi;
if [[ $os_name == "windows" ]]; then
# 停掉正在运行cursor-vip
taskkill -f -im cursor-vip.exe || true

# 检查 Desktop 目录是否存在
if [ -d "${USERPROFILE}/Desktop" ]; then
desktop_dir="${USERPROFILE}/Desktop"
else
desktop_dir="${USERPROFILE}/OneDrive/Desktop"
fi

desktop_dir=$(powershell -Command "[Environment]::GetFolderPath('Desktop')")
# 安装
curl -Lko ${desktop_dir}/cursor-vip.exe ${url}/cursor-vip_${os_name}_${hw_name}.exe
if [ "$lc_type" = "zh" ]; then
Expand Down
2 changes: 1 addition & 1 deletion tui/params/params.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package params

var Version = 241
var Version = 242

var Hosts = []string{"https://cursor.jeter.eu.org", "http://129.154.205.7:7193"}
var Host = Hosts[0]
Expand Down

0 comments on commit 1799ce8

Please sign in to comment.