新增架构检测

This commit is contained in:
2023-02-19 15:43:24 +08:00
parent 4632417414
commit 6b5c514760
11 changed files with 60 additions and 15 deletions

View File

@@ -37,6 +37,13 @@ QString buildvbox::GetNet(){
}
buildvbox::buildvbox(QString isoPath, int id){
/*QDir vboxPath(QDir::homePath() + "/VirtualBox VMs/Windows");
if(vboxPath.exists()){
qDebug("虚拟机存在,直接启动!");
vbox vm("Windows");
vm.Start();
return;
}*/
QString programPath = QCoreApplication::applicationDirPath();
QString net = GetNet();
qDebug() << "使用网卡:" << net << endl;