mac os 屏蔽系统更新

屏蔽命令:

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 屏蔽系统更新)