mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-01-12 17:48:27 +08:00
在安装应用时无需手动确认
This commit is contained in:
parent
ff41344e97
commit
e0b2aca8ef
@ -40,7 +40,7 @@ def InstallSparkWine(wine):
|
||||
|
||||
def InstallWineWithYay(wine):
|
||||
if os.system("which yay > /dev/null"):
|
||||
os.system("sudo pacman -S yay")
|
||||
os.system("sudo pacman -S yay --noconfirm")
|
||||
os.system(f"yay -S \"{wine}\"")
|
||||
|
||||
###################
|
||||
|
@ -9,7 +9,7 @@ fi
|
||||
# 判断是不是 Arch Linux
|
||||
if [[ -f /etc/arch-release ]]; then
|
||||
sudo pacman -Syu
|
||||
sudo pacman -S qemu-user qemu-user-static
|
||||
sudo pacman -S qemu-user qemu-user-static --noconfirm
|
||||
echo 安装完成,按回车键后退出
|
||||
read
|
||||
fi
|
||||
|
@ -2,7 +2,7 @@
|
||||
# 如果是 Arch Linux
|
||||
if [[-f /etc/arch-release ]]; then
|
||||
sudo pacman -Syu
|
||||
sudo pacman -S qemu-user qemu-user-static qemu-full
|
||||
sudo pacman -S qemu-user qemu-user-static qemu-full --noconfirm
|
||||
exit
|
||||
fi
|
||||
sudo apt update
|
||||
|
@ -1313,7 +1313,7 @@ python3 "{programPath}/updatekiller.py"
|
||||
echo 下载安装包
|
||||
wget -P /tmp/spark-deepin-wine-runner/update {UpdateWindow.data["Url-pkg"][0]}
|
||||
echo 安装安装包
|
||||
pacman -U /tmp/spark-deepin-wine-runner/update/*
|
||||
pacman -U /tmp/spark-deepin-wine-runner/update/* --noconfirm
|
||||
notify-send -i "{iconPath}" "更新完毕!"
|
||||
zenity --info --text=\"更新完毕!\" --ellipsize
|
||||
""")
|
||||
|
Loading…
Reference in New Issue
Block a user