mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-17 20:41:36 +08:00
Compare commits
2 Commits
4.1.0.0
...
744d2aa262
| Author | SHA1 | Date | |
|---|---|---|---|
| 744d2aa262 | |||
| 7fb1f60aae |
@@ -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")):
|
||||
|
||||
@@ -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)):
|
||||
|
||||
@@ -36,9 +36,6 @@ fi
|
||||
if [ -d /opt/apps/deepin-wine-runner/exa ]; then
|
||||
rm -rf /opt/apps/deepin-wine-runner/exa
|
||||
fi
|
||||
if [ -d /opt/apps/deepin-wine-runner/dxvk ]; then
|
||||
rm -rf /opt/apps/deepin-wine-runner/dxvk
|
||||
fi
|
||||
echo 移除完成
|
||||
# 如果为非 X86 PC,可以删除掉一些无用组件(主要是用不了)
|
||||
if [[ `arch` != "x86_64" ]]; then
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"Version": "4.1.0.0",
|
||||
"Version": "4.1.0.1",
|
||||
"Time": "未知",
|
||||
"Thank": [
|
||||
"感谢 @り哥拽的冇气质° 和 @杨 提供了 3a5000(新世界的测试机器)",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"Version": "4.1.0.0",
|
||||
"Version": "4.1.0.1",
|
||||
"Time": "未知",
|
||||
"Thank": [
|
||||
"感谢 @り哥拽的冇气质° 和 @杨 提供了 3a5000(新世界的测试机器)",
|
||||
|
||||
Reference in New Issue
Block a user