diff --git a/README.md b/README.md index ba7d0cf..464bd19 100644 --- a/README.md +++ b/README.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:** diff --git a/README_CN.md b/README_CN.md index eb1b328..92a6148 100644 --- a/README_CN.md +++ b/README_CN.md @@ -363,8 +363,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 +```