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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
没用, 会自己再安装