mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-01-13 01:58:27 +08:00
调整测试机制
This commit is contained in:
parent
4812a9a872
commit
57db5a2630
@ -410,6 +410,11 @@ void MainWindow::on_actionVMRunlLog_triggered()
|
|||||||
void MainWindow::on_actionVMTest_triggered()
|
void MainWindow::on_actionVMTest_triggered()
|
||||||
{
|
{
|
||||||
// 运行 Demo
|
// 运行 Demo
|
||||||
|
if(QFile::exists(QCoreApplication::applicationDirPath() + "/test.qcow2")){
|
||||||
|
// 优先使用本地的磁盘
|
||||||
|
system(("qemu-system-i386 --hda '" + QCoreApplication::applicationDirPath() + "/test.qcow2' -rtc base=localtime > /tmp/windows-virtual-machine-installer-for-wine-runner-run.log 2>&1").toUtf8());
|
||||||
|
return;
|
||||||
|
}
|
||||||
// 写入 disk 文件
|
// 写入 disk 文件
|
||||||
QFile file(":/TestDisk/test.qcow2");
|
QFile file(":/TestDisk/test.qcow2");
|
||||||
// 计算随机数
|
// 计算随机数
|
||||||
|
Binary file not shown.
Binary file not shown.
BIN
VM/VirtualMachine-armel
Executable file
BIN
VM/VirtualMachine-armel
Executable 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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user