V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
kanger
V2EX  ›  macOS

MacOS 如何去除 dock 栏的系统设置 APP 的更新提示角标

  •  
  •   kanger · 2023-03-10 11:46:15 +08:00 · 1121 次点击
    这是一个创建于 412 天前的主题,其中的信息可能已经有所发展或是发生改变。
    强迫症受不了这个角标,试了以下命令无效:

    defaults write com.apple.systempreferences AttentionPrefBundleIDs 0
    Killall Dock
    提示 command not found

    跪求新方案,目前系统 monterey 12.6.3 ,打算当养老版本了,不再升了
    2 条回复    2023-03-11 20:30:28 +08:00
    zzsong
        1
    zzsong  
       2023-03-11 02:36:34 +08:00 via iPhone
    很简单,把设置从 dock 栏移除就行了。
    sencat31
        2
    sencat31  
       2023-03-11 20:30:28 +08:00
    macOS 禁用更新:
    关闭「系统偏好」里的「自动更新」
    删除 ~/Library/Preferences/com.apple.preferences.softwareupdate.plist
    修改更新服务器:
    defaults write com.apple.systempreferences AttentionPrefBundleIDs 0
    sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL http://su.example.com:8088/index.sucatalog
    killall Dock

    恢复:
    sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate CatalogURL
    执行完成后重新打开一次更新检查就可以了。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5446 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 06:55 · PVG 14:55 · LAX 23:55 · JFK 02:55
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.