修改tmp路径以兼容termux

This commit is contained in:
2024-07-21 12:44:10 +08:00
parent df5d08cd68
commit 9296914ed5
6 changed files with 76 additions and 71 deletions

View File

@@ -6,15 +6,15 @@ echo ' # # #"""" #"""" #"# '
echo ' "mmm" "#mm" "#mm" # "m '
echo
echo
cd /tmp
cd $TMPDIR/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 ./
cp -rv $TMPDIR/tmp/geek.exe ./
if [[ $? == 0 ]];then
exit
fi
echo "拷贝失败,申请使用 sudo 拷贝"
sudo cp -rv /tmp/geek.exe ./
sudo cp -rv $TMPDIR/tmp/geek.exe ./