欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

我自己亲自做的 移除联软弹出窗口 有大用 有大大用 有大大大用

不停的弹出

dvc-manageproxy-exe

dvc-filemonitor.exe

#!/bin/bash    
#    
   
response=$(/usr/bin/osascript -e 'return button returned of (display dialog "首先需要卸载联软,才生效!你已经卸载了吗?" buttons ["是", "否"] default button 2)')  
if [ $response = "是" ] ; then    
   sudo mv /Library/LaunchAgents/com.lvmagent.gui.plist /Library/LaunchAgents/com.lvmagent.gui.plist.disabled    
   sudo mv /Library/LaunchDaemons/com.lvmagent.core.plist /Library/LaunchDaemons/com.lvmagent.core.plist.disabled    
   sudo mv /Library/LaunchDaemons/com.lvmagent.screen.plist /Library/LaunchDaemons/com.lvmagent.screen.plist.disabled    
    (/usr/bin/osascript -e  'display dialog "重启电脑,才生效!" buttons {"OK"}   default button "OK"')
else    
   (/usr/bin/osascript -e  'display dialog "请卸载联软,才生效!" buttons {"OK"}   default button "OK"')
fi    


普通分类: