Browse Source

更新 README 文件以添加针对 Linux 用户的注意事项,说明脚本如何定位 Cursor 安装位置,并确保用户能够通过常见路径访问 Cursor。同时,修正了 README 文件中的中文引号格式,以提升文档的准确性和可读性。

pull/490/head v0.0.153
煎饼果子卷鲨鱼辣椒 1 month ago
parent
commit
e5ea1700bd
  1. 2
      README.md
  2. 4
      README_CN.md
  3. 2
      README_JP.md
  4. 1
      scripts/run/cursor_linux_id_modifier.sh

2
README.md

@ -255,6 +255,8 @@ curl -fsSL https://aizaozao.com/accelerate.php/https://raw.githubusercontent.com
curl -fsSL https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_linux_id_modifier.sh | sudo bash
```
> **Note for Linux users:** The script attempts to find your Cursor installation by checking common paths (`/usr/bin`, `/usr/local/bin`, `$HOME/.local/bin`, `/opt/cursor`, `/snap/bin`), using the `which cursor` command, and searching within `/usr`, `/opt`, and `$HOME/.local`. If Cursor is installed elsewhere or not found via these methods, the script may fail. Ensure Cursor is accessible via one of these standard locations or methods.
**Windows**
```powershell

4
README_CN.md

@ -195,6 +195,8 @@ curl -fsSL https://aizaozao.com/accelerate.php/https://raw.githubusercontent.com
curl -fsSL https://aizaozao.com/accelerate.php/https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_linux_id_modifier.sh | sudo bash
```
> **Linux 用户请注意:** 该脚本通过检查常用路径(`/usr/bin`, `/usr/local/bin`, `$HOME/.local/bin`, `/opt/cursor`, `/snap/bin`)、使用 `which cursor` 命令以及在 `/usr`、`/opt` 和 `$HOME/.local` 目录内搜索,来尝试定位您的 Cursor 安装。如果 Cursor 安装在其他位置或通过这些方法无法找到,脚本可能会失败。请确保可以通过这些标准位置或方法之一访问到 Cursor。
**Windows**
```powershell
@ -386,7 +388,7 @@ mv app-update.yml app-update.yml.bak
touch app-update.yml
chmod 444 app-update.yml
# 打开Cursor设置,将更新模式设置为“无”,该步骤必须执行,否则Cursor依然会自动检查更新
# 打开Cursor设置,将更新模式设置为"无",该步骤必须执行,否则Cursor依然会自动检查更新
# 步骤:Settings -> Application -> Update, 将Mode设置为none
# 注意: cursor-updater修改方法可能已失效。但为了以防万一,还是删除更新目录并创建阻止文件

2
README_JP.md

@ -279,6 +279,8 @@ curl -fsSL https://aizaozao.com/accelerate.php/https://raw.githubusercontent.com
curl -fsSL https://aizaozao.com/accelerate.php/https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_linux_id_modifier.sh | sudo bash
```
> **Linuxユーザーへの注意:** スクリプトは、一般的なパス(`/usr/bin`, `/usr/local/bin`, `$HOME/.local/bin`, `/opt/cursor`, `/snap/bin`)の確認、`which cursor` コマンドの使用、および `/usr`、`/opt`、`$HOME/.local` ディレクトリ内の検索によって、Cursor のインストールを見つけようとします。Cursorが他の場所にインストールされているか、これらの方法で見つからない場合、スクリプトは失敗する可能性があります。これらの標準的な場所または方法のいずれかを通じてCursorにアクセスできることを確認してください。
**Windows**
```powershell

1
scripts/run/cursor_linux_id_modifier.sh

@ -766,6 +766,7 @@ main() {
echo -e "${BLUE}================================${NC}"
echo
echo -e "${YELLOW}[重要提示]${NC} 本工具优先修改js文件,更加安全可靠"
echo -e "${YELLOW}[重要提示]${NC} Linux 用户请注意:脚本将尝试通过检查常用路径 (${BLUE}/usr/bin, /usr/local/bin, \\$HOME/.local/bin, /opt/cursor, /snap/bin${NC}), 使用 ${BLUE}which cursor${NC}, 及搜索 ${BLUE}/usr, /opt, \\$HOME/.local${NC} 来定位 Cursor。若无法找到,请确保 Cursor 安装在上述位置之一或可通过这些方法访问。"
echo
# 执行主要功能

Loading…
Cancel
Save