美文网首页
mac os 屏蔽系统更新

mac os 屏蔽系统更新

作者: 丶维她命 | 来源:发表于2020-12-23 17:29 被阅读0次

    屏蔽命令:

    sudo mount -uw /
    
    sudo chmod 600 /System/Library/PrivateFrameworks/SoftwareUpdate.framework/Versions/A/Resources/SoftwareUpdateNotificationManager.app/Contents/MacOS/SoftwareUpdateNotificationManager
    
    defaults write com.apple.systempreferences AttentionPrefBundleIDs 0;killall Dock
    

    恢复命令:

    sudo mount -uw /
    
    sudo chmod 777 /System/Library/PrivateFrameworks/SoftwareUpdate.framework/Versions/A/Resources/SoftwareUpdateNotificationManager.app/Contents/MacOS/SoftwareUpdateNotificationManager
    
    defaults write com.apple.systempreferences AttentionPrefBundleIDs 0;killall Dock
    

    相关文章

      网友评论

          本文标题:mac os 屏蔽系统更新

          本文链接:https://www.haomeiwen.com/subject/zerunktx.html