mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-14 02:52:03 +08:00
适配spark-wine10
This commit is contained in:
@@ -28,8 +28,11 @@ class qemu:
|
||||
self.vboxVersion = subprocess.getoutput(self.qemuPath + " --version")
|
||||
|
||||
def Create(self, type = "Windows7"):
|
||||
if(not os.path.exists(self.name)):
|
||||
os.makedirs(self.name)
|
||||
try:
|
||||
if(not os.path.exists(self.name)):
|
||||
os.makedirs(self.name)
|
||||
except:
|
||||
pass
|
||||
return 0
|
||||
|
||||
def CreateDisk(self, path: str, size: int):
|
||||
|
||||
Reference in New Issue
Block a user