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

This commit is contained in:
gfdgd xi 2023-08-11 09:36:22 +08:00
parent 82b13b585d
commit 8a709ce7e2
15 changed files with 26 additions and 24 deletions

View File

@ -2,7 +2,7 @@
import os
import subprocess
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}"):
os.system(f"{programPath}/VirtualMachine-{arch}")
exit()

BIN
VM/VirtualMachine-loong64 Executable file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -51,8 +51,8 @@ if [ `arch` != "x86_64" ]; then
rm -rf /opt/apps/deepin-wine-runner/InstallNewWineHQ.sh
fi
# 处理 VM 工具
vmPath=/opt/apps/deepin-wine-runner/VM/VirtualMachine-`arch`
echo 当前架构为:`arch`
vmPath=/opt/apps/deepin-wine-runner/VM/VirtualMachine-`dpkg --print-architecture`
echo 当前架构为:`dpkg --print-architecture`
if [ -f $vmPath ]; then
echo 虚拟机工具有该架构的预编译文件
# 移除辅助文件
@ -65,19 +65,20 @@ else
rm -f /opt/apps/deepin-wine-runner/VM/VirtualMachine-*
fi
echo 处理完成!
# Gitlink 源挂了
# 到时候切换 gpg 源会方便很多
if [ -r /etc/apt/sources.list.d/better-dde.list ]; then
if [ -d /usr/share/deepin-installer ]; then
# 用于修复 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
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
# 用于修复 2022.11.25 Better DDE 导致的 Deepin Community Live CD Install 版问题
# 移除 Better DDE 源
rm -rfv /etc/apt/sources.list.d/better-dde.list
apt update > /dev/null 2>&1 | true
fi
fi
#if [ -r /etc/apt/sources.list.d/better-dde.list ]; then
# if [ -d /usr/share/deepin-installer ]; then
# # 用于修复 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
# 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
# # 用于修复 2022.11.25 Better DDE 导致的 Deepin Community Live CD Install 版问题
# # 移除 Better DDE 源
# rm -rfv /etc/apt/sources.list.d/better-dde.list
# apt update > /dev/null 2>&1 | true
# fi
#fi
# 设置目录权限,让用户可读可写,方便后续删除组件
chmod 777 -R /opt/apps/deepin-wine-runner
# 向服务器返回安装数加1不显示内容且忽略错误

View File

@ -2551,15 +2551,16 @@ updateThingsString = transla.transe("U", '''※1、修复简易打包器无法
7修复虚拟机工具在检测到 Qemu 磁盘但没有安装 Qemu 时无法启动的问题
8修复虚拟机工具的一些问题并调整部分设置
9虚拟机工具支持设置 UEFI 启动
10高级打包器支持隐藏输入框以及使用小字体
11打包器提供 bcm dcm wine 支持
12修复星火 wine 配置错误问题
13打包器支持多线程打包
14修复升级工具问题https://gitee.com/gfdgd-xi/uengine-runner/issues/I6ZRZX
15跟进打包器 run.sh 模板
16云沙箱新增 cloud.vdnel.cn
17打包器新增分类 GameSystemAudioVideo
18修复安装 Box64 时源里没有 libc6:armhf 导致无法安装的问题''')
10虚拟机安装工具提供 LoongArch 新世界版本
11高级打包器支持隐藏输入框以及使用小字体
12打包器提供 bcm dcm wine 支持
13修复星火 wine 配置错误问题
14打包器支持多线程打包
15修复升级工具问题https://gitee.com/gfdgd-xi/uengine-runner/issues/I6ZRZX
16跟进打包器 run.sh 模板
17云沙箱新增 cloud.vdnel.cn
18打包器新增分类 GameSystemAudioVideo
19修复安装 Box64 时源里没有 libc6:armhf 导致无法安装的问题''')
for i in information["Thank"]:
thankText += f"{i}\n"
updateTime = "2023年08月10日"