虚拟机安装工具提供LoongArch新世界版本

This commit is contained in:
2023-08-11 09:36:22 +08:00
parent 82b13b585d
commit 8a709ce7e2
15 changed files with 26 additions and 24 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
import os import os
import subprocess import subprocess
programPath = os.path.split(os.path.realpath(__file__))[0] # 返回 string programPath = os.path.split(os.path.realpath(__file__))[0] # 返回 string
arch = subprocess.getoutput("arch").replace(" ", "").replace("\n", "") arch = subprocess.getoutput("dpkg --print-architecture").replace(" ", "").replace("\n", "")
if os.path.exists(f"{programPath}/VirtualMachine-{arch}"): if os.path.exists(f"{programPath}/VirtualMachine-{arch}"):
os.system(f"{programPath}/VirtualMachine-{arch}") os.system(f"{programPath}/VirtualMachine-{arch}")
exit() exit()
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+15 -14
View File
@@ -51,8 +51,8 @@ if [ `arch` != "x86_64" ]; then
rm -rf /opt/apps/deepin-wine-runner/InstallNewWineHQ.sh rm -rf /opt/apps/deepin-wine-runner/InstallNewWineHQ.sh
fi fi
# 处理 VM 工具 # 处理 VM 工具
vmPath=/opt/apps/deepin-wine-runner/VM/VirtualMachine-`arch` vmPath=/opt/apps/deepin-wine-runner/VM/VirtualMachine-`dpkg --print-architecture`
echo 当前架构为:`arch` echo 当前架构为:`dpkg --print-architecture`
if [ -f $vmPath ]; then if [ -f $vmPath ]; then
echo 虚拟机工具有该架构的预编译文件 echo 虚拟机工具有该架构的预编译文件
# 移除辅助文件 # 移除辅助文件
@@ -65,19 +65,20 @@ else
rm -f /opt/apps/deepin-wine-runner/VM/VirtualMachine-* rm -f /opt/apps/deepin-wine-runner/VM/VirtualMachine-*
fi fi
echo 处理完成! echo 处理完成!
# Gitlink 源挂了
# 到时候切换 gpg 源会方便很多 # 到时候切换 gpg 源会方便很多
if [ -r /etc/apt/sources.list.d/better-dde.list ]; then #if [ -r /etc/apt/sources.list.d/better-dde.list ]; then
if [ -d /usr/share/deepin-installer ]; then # if [ -d /usr/share/deepin-installer ]; then
# 用于修复 Deepin Community Live CD Install 版签名过期的问题 # # 用于修复 Deepin Community Live CD Install 版签名过期的问题
wget -P /tmp/gfdgd-xi-sources https://code.gitlink.org.cn/gfdgd_xi/gfdgd-xi-apt-mirrors/raw/branch/master/gpg.asc # wget -P /tmp/gfdgd-xi-sources https://code.gitlink.org.cn/gfdgd_xi/gfdgd-xi-apt-mirrors/raw/branch/master/gpg.asc
rm -rfv /etc/apt/trusted.gpg.d/gfdgdxi-list.gpg | true # rm -rfv /etc/apt/trusted.gpg.d/gfdgdxi-list.gpg | true
cp -v /tmp/gfdgd-xi-sources/gpg.asc.gpg /etc/apt/trusted.gpg.d/gfdgdxi-list.gpg # cp -v /tmp/gfdgd-xi-sources/gpg.asc.gpg /etc/apt/trusted.gpg.d/gfdgdxi-list.gpg
# 用于修复 2022.11.25 Better DDE 导致的 Deepin Community Live CD Install 版问题 # # 用于修复 2022.11.25 Better DDE 导致的 Deepin Community Live CD Install 版问题
# 移除 Better DDE 源 # # 移除 Better DDE 源
rm -rfv /etc/apt/sources.list.d/better-dde.list # rm -rfv /etc/apt/sources.list.d/better-dde.list
apt update > /dev/null 2>&1 | true # apt update > /dev/null 2>&1 | true
fi # fi
fi #fi
# 设置目录权限,让用户可读可写,方便后续删除组件 # 设置目录权限,让用户可读可写,方便后续删除组件
chmod 777 -R /opt/apps/deepin-wine-runner chmod 777 -R /opt/apps/deepin-wine-runner
# 向服务器返回安装数加1(不显示内容且忽略错误) # 向服务器返回安装数加1(不显示内容且忽略错误)
+10 -9
View File
@@ -2551,15 +2551,16 @@ updateThingsString = transla.transe("U", '''※1、修复简易打包器无法
※7、修复虚拟机工具在检测到 Qemu 磁盘但没有安装 Qemu 时无法启动的问题 ※7、修复虚拟机工具在检测到 Qemu 磁盘但没有安装 Qemu 时无法启动的问题
※8、修复虚拟机工具的一些问题并调整部分设置 ※8、修复虚拟机工具的一些问题并调整部分设置
※9、虚拟机工具支持设置 UEFI 启动 ※9、虚拟机工具支持设置 UEFI 启动
10、高级打包器支持隐藏输入框以及使用小字体 10、虚拟机安装工具提供 LoongArch 新世界版本
11、打包器提供 bcm 和 dcm wine 支持 11、高级打包器支持隐藏输入框以及使用小字体
12、修复星火 wine 配置错误问题 12、打包器提供 bcm 和 dcm wine 支持
13、打包器支持多线程打包 13、修复星火 wine 配置错误问题
14、修复升级工具问题:https://gitee.com/gfdgd-xi/uengine-runner/issues/I6ZRZX 14、打包器支持多线程打包
15、跟进打包器 run.sh 模板 15、修复升级工具问题:https://gitee.com/gfdgd-xi/uengine-runner/issues/I6ZRZX
16、云沙箱新增 cloud.vdnel.cn 16、跟进打包器 run.sh 模板
17、打包器新增分类 Game、System、AudioVideo 17、云沙箱新增 cloud.vdnel.cn
18、修复安装 Box64 时源里没有 libc6:armhf 导致无法安装的问题''') 18、打包器新增分类 Game、System、AudioVideo
19、修复安装 Box64 时源里没有 libc6:armhf 导致无法安装的问题''')
for i in information["Thank"]: for i in information["Thank"]:
thankText += f"{i}\n" thankText += f"{i}\n"
updateTime = "2023年08月10日" updateTime = "2023年08月10日"