mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-05-25 09:29:48 +08:00
This commit is contained in:
parent
7fb1f60aae
commit
744d2aa262
@ -119,7 +119,7 @@ class buildvbox:
|
||||
|
||||
#vm.MountDisk(self.homePath() + "/Qemu/Windows/Windows.qcow2")
|
||||
vm.MountMainDisk(self.homePath() + "/Qemu/Windows/Windows.qcow2")
|
||||
if(os.system("/opt/apps/deepin-wine-runner-qemu-system-extra/files/resources/virtio-win.iso")):
|
||||
if(os.path.exists("/opt/apps/deepin-wine-runner-qemu-system-extra/files/resources/virtio-win.iso")):
|
||||
vm.MountISO("/opt/apps/deepin-wine-runner-qemu-system-extra/files/resources/virtio-win.iso", "storage_controller_2", 1, 3)
|
||||
if(not setISOAlready):
|
||||
vm.MountISO(isoPath, "storage_controller_1", 0, 1)
|
||||
|
@ -148,7 +148,7 @@ def on_install_clicked():
|
||||
QMessageBox.warning(this, ("提示"), ("VirtualBox 不支持该选项!"))
|
||||
return
|
||||
archFile.open(QIODevice.WriteOnly)
|
||||
archFile.write("aarch64")
|
||||
#archFile.write("aarch64")
|
||||
archFile.close()
|
||||
else:
|
||||
if(ui.vmChooser.currentIndex() == 0 and QFile.exists(QDir.homePath() + "/.config/deepin-wine-runner/QEMU-EFI")):
|
||||
@ -330,4 +330,4 @@ if (subprocess.getoutput("arch") != "x86_64"):
|
||||
i.setVisible(False)
|
||||
window.show()
|
||||
if (__name__ == "__main__"):
|
||||
sys.exit(app.exec_())
|
||||
sys.exit(app.exec_())
|
||||
|
@ -24,8 +24,8 @@ class qemu:
|
||||
self.qemuPath = "qemu-system-i386"
|
||||
if (os.path.exists("/opt/apps/deepin-wine-runner-qemu-system-extra/files/run.sh")):
|
||||
# 如果存在拓展 Qemu,则调用此
|
||||
qemuPath = "/opt/apps/deepin-wine-runner-qemu-system-extra/files/run.sh qemu-system-i386"
|
||||
self.vboxVersion = subprocess.getoutput(qemuPath + " --version")
|
||||
self.qemuPath = "/opt/apps/deepin-wine-runner-qemu-system-extra/files/run.sh qemu-system-i386"
|
||||
self.vboxVersion = subprocess.getoutput(self.qemuPath + " --version")
|
||||
|
||||
def Create(self, type = "Windows7"):
|
||||
if(not os.path.exists(self.name)):
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"Version": "4.1.0.0",
|
||||
"Version": "4.1.0.1",
|
||||
"Time": "未知",
|
||||
"Thank": [
|
||||
"感谢 @り哥拽的冇气质° 和 @杨 提供了 3a5000(新世界的测试机器)",
|
||||
|
Loading…
x
Reference in New Issue
Block a user