qemu-system检测

This commit is contained in:
gfdgd xi 2023-11-11 22:10:49 +08:00
parent 7d1d121c01
commit d62ec78926
2 changed files with 17 additions and 1 deletions

View File

@ -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");

View File

@ -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",
"感谢 @豪 提供程序图标",