Compare commits

...

13 Commits

Author SHA1 Message Date
yeongpin
380ea0b81d update readme 2025-01-13 14:45:31 +08:00
yeongpin
17733b2fd4 update readme 2025-01-13 14:05:24 +08:00
yeongpin
743baaa81f update image 2025-01-13 13:54:22 +08:00
yeongpin
b949c95475 recrop image 2025-01-13 13:52:35 +08:00
yeongpin
09e24598ce Update Readme 2025-01-13 13:51:18 +08:00
yeongpin
bd95140968 update readme 2025-01-13 13:34:59 +08:00
yeongpin
fa1f38ec1b update new readme 2025-01-13 13:17:14 +08:00
yeongpin
d91b90347a update sh 2025-01-13 13:15:13 +08:00
yeongpin
23e558a515 update new sh 2025-01-13 13:13:25 +08:00
yeongpin
9d2381844f update sh 2025-01-13 13:07:48 +08:00
yeongpin
b0ea217572 new mac sh 2025-01-13 13:05:47 +08:00
yeongpin
1f1366a0c9 update mac/linux after bash run application 2025-01-13 13:03:05 +08:00
yeongpin
3921129518 Update 1.0.3 Readme 2025-01-13 13:00:18 +08:00
4 changed files with 58 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
# Cursor Free VIP
# Cursor Free VIP
<div align="center">
<p align="center">
<img src="./images/logo.png" alt="Cursor Pro Logo" width="200"/>
@@ -17,7 +17,10 @@ This is a tool to automatically bypass Cursor's membership check, automatically
這是一個自動化工具自動繞過Cursor的會員檢查自動升級為 "pro" 會員,支持 Windows 和 macOS 系統實時發送Token請求重置Cursor的配置。
<p align="center">
<img src="./images/pro_2025-01-11_00-51-07.png" alt="Cursor Pro Logo" width="400"/><br>
<img src="./images/pro_2025-01-11_00-51-07.png" alt="win" width="400"/><br>
</p>
<p align="center">
<img src="./images/pro_2025-01-13_13-49-55.png" alt="mac" width="400"/><br>
</p>
<p align="center">
<img src="./images/pro_2025-01-11_22-33-09.gif" alt="Cursor Pro Logo" width="600"/><br>
@@ -38,6 +41,24 @@ This is a tool to automatically bypass Cursor's membership check, automatically
## 🔄 更新日志
<details open>
<summary>v1.0.4</summary>
1. Fix: Cursor's configuration | 修復Cursor的配置問題
2. Fix Cloud Lame | 修復雲端慢速模式
</details>
<details>
<summary>v1.0.3</summary>
1. Fix: Cursor's configuration | 修復Cursor的配置問題
2. Add Manual Reset Machine | 增加手動重置機器
3. Add CDN Cloud Control WatchDog | 增加CDN雲端控制WatchDog
4. Add Mac OS Support | 增加Mac OS支持
5. 759 ++ People use , but star only a few | 759 ++人使用,但只有幾個人點贊
<p align="center">
<img src="./images/what_2025-01-13_13-32-54.png" alt="Why" width="400"/><br>
</p>
</details>
<details>
<summary>v1.0.2</summary>
@@ -78,7 +99,7 @@ This is a tool to automatically bypass Cursor's membership check, automatically
</p>
</details>
## Features | 功能特點
## Features | 功能特點
* Auto bypass Cursor's membership check<br>自動繞過Cursor的會員檢查<br>
@@ -91,7 +112,7 @@ This is a tool to automatically bypass Cursor's membership check, automatically
* Reset Cursor's configuration<br>重置Cursor的配置<br>
## System Support | 系統支持
## 💻 System Support | 系統支持
|Windows|x64|✅|macOS|Intel|✅|
|:---:|:---:|:---:|:---:|:---:|:---:|
@@ -99,16 +120,16 @@ This is a tool to automatically bypass Cursor's membership check, automatically
|Linux|x64|✅|Linux|x86|✅|
|Linux|ARM64|✅|Linux|ARM64|✅|
## How to use | 如何使用
## 👀 How to use | 如何使用
|⚠Must logout your account before running the script⚠|⚠️必須先登出你的帳戶再運行腳本⚠️ |
|:---:|:---:|
<br>
<details open>
<summary><b>Auto Run Script | 腳本自動化運行</b></summary>
<summary><b>Auto Run Script | 腳本自動化運行</b></summary>
**Linux/macOS**
```bash
curl -fsSL https://raw.githubusercontent.com/yeongpin/cursor-free-vip/main/scripts/install.sh | sudo bash
curl -fsSL https://raw.githubusercontent.com/yeongpin/cursor-free-vip/main/scripts/install.sh -o install.sh && chmod +x install.sh && sudo ./install.sh
```
**Windows**
@@ -118,7 +139,7 @@ irm https://raw.githubusercontent.com/yeongpin/cursor-free-vip/main/scripts/inst
</details>
<details open>
<summary><b>Manual Reset Machine | 手動運行重置機器</b></summary>
<summary><b>Manual Reset Machine | 手動運行重置機器</b></summary>
**Linux/macOS**
```bash
@@ -133,7 +154,7 @@ irm https://raw.githubusercontent.com/yeongpin/cursor-free-vip/main/scripts/rese
2. If you want to stop the script, please press Ctrl+C<br>要停止腳本,請按 Ctrl+C
## Note | 注意事項
## Note | 注意事項
* Confirm that Cursor is closed before running the script <br>請確保在運行腳本前已經關閉 Cursor<br>
@@ -145,7 +166,7 @@ irm https://raw.githubusercontent.com/yeongpin/cursor-free-vip/main/scripts/rese
## Common Issues | 常見問題
## 🚨 Common Issues | 常見問題
|如果遇到權限問題,請確保:|If you encounter permission issues, please ensure:|
|:---:|:---:|
@@ -153,13 +174,13 @@ irm https://raw.githubusercontent.com/yeongpin/cursor-free-vip/main/scripts/rese
## 貢獻 | Contribution
## 🤩 貢獻 | Contribution
歡迎提交 Issue 和 Pull Request
## Disclaimer | 免責聲明
## 📩 Disclaimer | 免責聲明
本工具僅供學習和研究使用,使用本工具所產生的任何後果由使用者自行承擔。 <br>

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

View File

@@ -63,6 +63,7 @@ create_temp_dir() {
install_cursor_free_vip() {
local install_dir="/usr/local/bin"
local binary_name="CursorFreeVIP_${VERSION}_${OS}"
local binary_path="${install_dir}/cursor-free-vip"
local download_url="https://github.com/yeongpin/cursor-free-vip/releases/download/v${VERSION}/${binary_name}"
echo -e "${CYAN} 正在下載...${NC}"
@@ -73,11 +74,33 @@ install_cursor_free_vip() {
echo -e "${CYAN} 正在安裝...${NC}"
chmod +x "${TMP_DIR}/${binary_name}"
mv "${TMP_DIR}/${binary_name}" "${install_dir}/cursor-free-vip"
mv "${TMP_DIR}/${binary_name}" "$binary_path"
if [ $? -eq 0 ]; then
echo -e "${GREEN}✅ 安裝完成!${NC}"
echo -e "${CYAN} 您可以通過運行 'cursor-free-vip' 來啟動程序${NC}"
# 确保有执行权限
chmod +x "$binary_path"
# 获取实际用户
REAL_USER=$SUDO_USER
if [ -z "$REAL_USER" ]; then
REAL_USER=$(whoami)
fi
# 修改所有权
chown $REAL_USER "$binary_path"
echo -e "${CYAN} 正在以普通用戶身份啟動程序...${NC}"
if [[ "$(uname)" == "Darwin" ]]; then
# macOS: 使用 sudo -u 并保持环境变量
HOME_DIR=$(eval echo ~$REAL_USER)
sudo -u $REAL_USER HOME=$HOME_DIR "$binary_path"
else
# Linux
su - $REAL_USER -c "$binary_path"
fi
else
echo -e "${RED}❌ 安裝失敗${NC}"
exit 1