调整依赖关系

This commit is contained in:
gfdgd xi 2024-01-31 21:21:12 +08:00
parent fcdd8e7622
commit c77a9b3290
3 changed files with 9 additions and 3 deletions

View File

@ -6,6 +6,13 @@ if [[ $? == 0 ]]; then
read
exit 1
fi
# 判断是不是 Arch Linux
if [[ -f /etc/arch-release ]]; then
sudo pacman -Syu
sudo pacman -S qemu-user qemu-user-static
echo 安装完成,按回车键后退出
read
fi
sudo apt update
sudo apt install binfmt-support qemu-user qemu-user-static -y
echo 安装完成,按回车键后退出

View File

@ -8,7 +8,7 @@ Certainty: possible
Check: binaries
Type: binary, udeb
Priority: optional
Depends: python3, python3-pil, libc6, python3-pil.imagetk, python3-pyquery, aria2, curl, unrar | unrar-free , unzip, python3-requests, python3-pyqt5, python3-psutil, deepin-terminal | mate-terminal | gnome-terminal | xfce4-terminal, python3-dbus, python3-pip, p7zip-full, sudo, python3-pyperclip, bubblewrap, zenity, tree, qemu-system, dpkg
Depends: python3, python3-pil, libc6, python3-pil.imagetk, python3-pyquery, aria2, curl, unrar | unrar-free , unzip, python3-requests, python3-pyqt5, python3-psutil, deepin-terminal | mate-terminal | gnome-terminal | xfce4-terminal, python3-dbus, python3-pip, p7zip-full, sudo, python3-pyperclip, bubblewrap, zenity, tree, qemu-system | qemu-full, dpkg
Recommends: winbind, wimtools, python3-pyqt5.qtwebengine, binfmt-support, libc6:i386, libc6:armhf, libwine
Section: utils
Conflicts: spark.deepin-venturi-setter, spark-deepin-wine5-application-packer, spark-deepin-wine-runner-52

View File

@ -3459,8 +3459,7 @@ for i in [
# 有些功能是 Arch Linux 不适用的,需要屏蔽
if not os.path.exists("/etc/arch-release"):
for i in [installLat, installWineHQ, installWineHQOrg,
installBox86CN, installBox86, installBox86Own, addWineDebMirrorForDeepin20,
installQemuMenu]:
installBox86CN, installBox86, installBox86Own, addWineDebMirrorForDeepin20]:
i.setDisabled(True)
for i in actionList:
i.setDisabled(True)