Merge branches 'master' and 'master' of https://github.com/yuaotian/go-cursor-help

merge pull
This commit is contained in:
煎饼果子卷鲨鱼辣椒 2025-03-07 10:23:16 +08:00
commit d7044b6ac8
2 changed files with 35 additions and 4 deletions

View File

@ -84,11 +84,22 @@ Select `1` to automatically complete the disable operation.
**macOS:** **macOS:**
```bash ```bash
# NOTE: As tested, this method only works for version 0.45.11 and below.
# Close Cursor # Close Cursor
pkill -f "Cursor" pkill -f "Cursor"
# Remove update directory and create blocking file # Replacing app-update.yml with a blank/read-only file
rm -rf ~/Library/Application\ Support/cursor-updater cd /Applications/Cursor.app/Contents/Resources
touch ~/Library/Application\ Support/cursor-updater mv app-update.yml app-update.yml.bak
touch app-update.yml
chmod 444 app-update.yml
# Go to Settings -> Application -> Update, set Mode to none.
# This must be done to prevent Cursor from checking for updates.
# NOTE: The cursor-updater modification method may no longer be effective
# In any case, remove update directory and create blocking file
rm -rf ~/Library/Application\ Support/Caches/cursor-updater
touch ~/Library/Application\ Support/Caches/cursor-updater
``` ```
**Linux:** **Linux:**

View File

@ -363,8 +363,28 @@ Windows 用户可以手动禁用自动更新功能:
2. 删除目录:`C:\Users\用户名\AppData\Local\cursor-updater` 2. 删除目录:`C:\Users\用户名\AppData\Local\cursor-updater`
3. 创建同名文件:`cursor-updater`(不带扩展名) 3. 创建同名文件:`cursor-updater`(不带扩展名)
macOS/Linux 用户可以尝试在系统中找到类似的`cursor-updater`目录进行相同操作。 Linux用户可以尝试在系统中找到类似的`cursor-updater`目录进行相同操作。
MacOS用户按照以下步骤操作
```bash
# 注意经测试此方法仅适用于0.45.11及以下版本不支持0.46.*版本
# 关闭所有 Cursor 进程
pkill -f "Cursor"
# 备份app-update.yml并创建空的只读文件代替原文件
cd /Applications/Cursor.app/Contents/Resources
mv app-update.yml app-update.yml.bak
touch app-update.yml
chmod 444 app-update.yml
# 打开Cursor设置将更新模式设置为“无”该步骤必须执行否则Cursor依然会自动检查更新
# 步骤Settings -> Application -> Update, 将Mode设置为none
# 注意: cursor-updater修改方法可能已失效。但为了以防万一还是删除更新目录并创建阻止文件
rm -rf ~/Library/Application\ Support/Caches/cursor-updater
touch ~/Library/Application\ Support/Caches/cursor-updater
```
</details> </details>
<details> <details>