在安装应用时无需手动确认

This commit is contained in:
2024-02-01 18:52:19 +08:00
parent ff41344e97
commit e0b2aca8ef
4 changed files with 4 additions and 4 deletions

View File

@@ -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}\"")
###################