macOS 禁止 nsurlsessiond 后台自动更新

#!/bin/sh
launchctl unload /System/Library/LaunchDaemons/com.apple.nsurlstoraged.plist
launchctl unload /System/Library/LaunchAgents/com.apple.nsurlsessiond.plist
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.nsurlsessiond.plist
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.nsurlstoraged.plist

以上命令可以另存为批处理文件,在终端执行。

posted on 2020-06-03 09:14  二狗笔记  阅读(2691)  评论(0编辑  收藏  举报

导航