Created
October 13, 2023 02:44
-
-
Save willbchang/ff30f72e1f1e982241762d180e39c6cd to your computer and use it in GitHub Desktop.
卸载 云枢 app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo chflags -R noschg /Applications/Yunshu.app | |
| sudo rm -rf /opt/yunshu \ | |
| /opt/.yunshu \ | |
| /Library/PrivilegedHelperTools/com.eagleyun.sase.helper \ | |
| /Applications/Yunshu.app | |
| function cleanup() { | |
| local target="$1" | |
| while [[ $(fd "$target" | wc -l) -ne 0 ]]; do | |
| for each in $(fd "$target"); do | |
| sudo rm -rf "$each" | |
| done | |
| done | |
| } | |
| cleanup "eagleyun" | |
| cleanup "yunshu" |
- 查看系统启动项:launchctl list | grep yun
2.禁用启动项: sudo launchctl bootout xxx (1里list出来的内容) - 删除以下三个目录里的相关启动项:
/Library/LaunchAgents/ | grep yun
/Library/LaunchDaemons/ | grep yun
~/Library/LaunchAgents/ | grep yun
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
没用, 会自己再安装