Browse Source
Merge pull request #289 from ManicEuphoria/fix/update_README
docs: Update README.md with instructions for manually disabling macOS auto-updates
pull/299/head
煎饼果子卷鲨鱼辣椒
3 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
35 additions and
4 deletions
-
README.md
-
README_CN.md
|
|
@ -84,11 +84,22 @@ Select `1` to automatically complete the disable operation. |
|
|
|
|
|
|
|
**macOS:** |
|
|
|
```bash |
|
|
|
# NOTE: As tested, this method only works for version 0.45.11 and below. |
|
|
|
# Close Cursor |
|
|
|
pkill -f "Cursor" |
|
|
|
# Remove update directory and create blocking file |
|
|
|
rm -rf ~/Library/Application\ Support/cursor-updater |
|
|
|
touch ~/Library/Application\ Support/cursor-updater |
|
|
|
# Replacing app-update.yml with a blank/read-only file |
|
|
|
cd /Applications/Cursor.app/Contents/Resources |
|
|
|
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:** |
|
|
|
|
|
@ -271,8 +271,28 @@ Windows 用户可以手动禁用自动更新功能: |
|
|
|
2. 删除目录:`C:\Users\用户名\AppData\Local\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> |
|
|
|