mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-13 10:32:03 +08:00
虚拟机安装工具提供LoongArch新世界版本
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import os
|
||||
import subprocess
|
||||
programPath = os.path.split(os.path.realpath(__file__))[0] # 返回 string
|
||||
arch = subprocess.getoutput("arch").replace(" ", "").replace("\n", "")
|
||||
arch = subprocess.getoutput("dpkg --print-architecture").replace(" ", "").replace("\n", "")
|
||||
if os.path.exists(f"{programPath}/VirtualMachine-{arch}"):
|
||||
os.system(f"{programPath}/VirtualMachine-{arch}")
|
||||
exit()
|
||||
|
||||
Reference in New Issue
Block a user