nac一键卸载软件脚本

将下面的代码保存为uninstall.sh:

echo 'delete shit.app..need your root pwd';
sudo rm -rf /Applications/dvc-manageproxy-exe.app;
sudo rm -rf /Applications/LVSecurityAgent.app;
echo 'script is fighting...';
sudo chflags noschg /opt/LVUAAgentInstBaseRoot;
sudo chflags noschg /opt/LVUAAgentInstBaseRoot/face;
sudo chflags noschg /opt/LVUAAgentInstBaseRoot/web;
echo 'delete shit.datafile..';
sudo rm -rf /opt/LVUAAgentInstBaseRoot;
echo 'kill shit.process..';
sudo ps -ef|grep -E 'LVUAAgentInstBaseRoot|dvc-manageproxy-exe' |grep -v "grep"|awk '{print $2}'|xargs sudo kill -9;
echo 'congratulations! You throw that shit!';

然后执行sh uninstall.sh

posted @ 2025-09-15 23:22  旧色染新烟  阅读(15)  评论(0)    收藏  举报