mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-01-12 17:48:27 +08:00
arch更新链接错误
This commit is contained in:
parent
0ec98cffcb
commit
ff41344e97
@ -1279,7 +1279,7 @@ class UpdateWindow():
|
|||||||
isArch = False
|
isArch = False
|
||||||
if os.path.exists("/etc/arch-release"):
|
if os.path.exists("/etc/arch-release"):
|
||||||
isArch = True
|
isArch = True
|
||||||
if UpdateWindow.data["Url-pkg"][0] == "":
|
if UpdateWindow.data["Url-pkg"][0] == None:
|
||||||
unPackageNew = True
|
unPackageNew = True
|
||||||
try:
|
try:
|
||||||
print(UpdateWindow.data["Url"])
|
print(UpdateWindow.data["Url"])
|
||||||
@ -1311,7 +1311,7 @@ rm -rfv /tmp/spark-deepin-wine-runner/update/*
|
|||||||
echo 关闭“Wine 运行器”
|
echo 关闭“Wine 运行器”
|
||||||
python3 "{programPath}/updatekiller.py"
|
python3 "{programPath}/updatekiller.py"
|
||||||
echo 下载安装包
|
echo 下载安装包
|
||||||
wget -P /tmp/spark-deepin-wine-runner/update {UpdateWindow.data["Url"][0]}
|
wget -P /tmp/spark-deepin-wine-runner/update {UpdateWindow.data["Url-pkg"][0]}
|
||||||
echo 安装安装包
|
echo 安装安装包
|
||||||
pacman -U /tmp/spark-deepin-wine-runner/update/*
|
pacman -U /tmp/spark-deepin-wine-runner/update/*
|
||||||
notify-send -i "{iconPath}" "更新完毕!"
|
notify-send -i "{iconPath}" "更新完毕!"
|
||||||
|
Loading…
Reference in New Issue
Block a user