From d62ec789261c0d6988efb62f2db90dde5c542d88 Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Sat, 11 Nov 2023 22:10:49 +0800 Subject: [PATCH] =?UTF-8?q?qemu-system=E6=A3=80=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VM-source/mainwindow.cpp | 14 ++++++++++++++ information.json | 4 +++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/VM-source/mainwindow.cpp b/VM-source/mainwindow.cpp index 620b520..03cf91d 100755 --- a/VM-source/mainwindow.cpp +++ b/VM-source/mainwindow.cpp @@ -183,6 +183,20 @@ void MainWindow::on_install_clicked() } } break; + case 8: + if(system("which qemu-system-arm")){ + if(QMessageBox::question(this, "提示", "无法检测到 qemu-system-arm,是否继续创建虚拟机?") == QMessageBox::No){ + return; + } + } + break; + case 9: + if(system("which qemu-system-aarch64")){ + if(QMessageBox::question(this, "提示", "无法检测到 qemu-system-aarch64,是否继续创建虚拟机?") == QMessageBox::No){ + return; + } + } + break; } QFile file(QDir::homePath() + "/.config/deepin-wine-runner/QEMU-EFI"); QFile archFile(QDir::homePath() + "/.config/deepin-wine-runner/QEMU-ARCH"); diff --git a/information.json b/information.json index 4e5cc91..8f2bb49 100644 --- a/information.json +++ b/information.json @@ -1,7 +1,9 @@ { - "Version": "3.4.1", + "Version": "3.5.0", "Time": "未知", "Thank": [ + "感性 @ёжезийлёзйз 进行 Loongarch 架构的测试(旧世界,远程)", + "感谢 @run@3a4k 提供 3a4000 测试机器(远程)", "感谢 RacoonGX 的付出与贡献", "感谢 @Amber 编写的《使用wine运行器打包无安装包的软件》:https://bbs.deepin.org/post/247720", "感谢 @豪 提供程序图标",