初步完成geek uninstaller卸载程序的更新功能

This commit is contained in:
2022-07-27 22:54:40 +08:00
parent 28257e2af1
commit af7028b7d3
3 changed files with 20 additions and 0 deletions

14
UpdateGeek.sh Executable file
View File

@@ -0,0 +1,14 @@
cd /tmp
echo 提示:
echo Geek Uninstaller 官网访问较慢,所以请耐心等待
aria2c -x 16 -s 16 https://geekuninstaller.com/geek.zip
unzip geek.zip
cd `dirname $0`
cp -rv /tmp/geek.exe ./
if [[ $? == 0]];then
echo "完成"
read
exit
fi
echo "拷贝失败,申请使用 sudo 拷贝"
sudo cp -rv /tmp/geek.exe ./