mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-14 02:52:03 +08:00
2.1.0-2
This commit is contained in:
@@ -15,17 +15,17 @@ terminalList = [
|
||||
"gnome-terminal"
|
||||
]
|
||||
terminalEnd = {
|
||||
f"{programPath}/launch.sh\" \"deepin-terminal": ["-e", 0],
|
||||
f"{programPath}/../launch.sh\" \"deepin-terminal": ["-e", 0],
|
||||
"mate-terminal": ["-e", 1],
|
||||
"gnome-terminal": ["--", 0]
|
||||
}
|
||||
for i in terminalList:
|
||||
if not os.system(f"which {i}"):
|
||||
if i == "deepin-terminal":
|
||||
i = f"{programPath}/launch.sh\" \"deepin-terminal"
|
||||
i = f"{programPath}/../launch.sh\" \"deepin-terminal"
|
||||
terminal = i
|
||||
break
|
||||
if terminal == "":
|
||||
print("无法识别到以下的任意一个终端")
|
||||
print(" ".join(terminalList))
|
||||
exit()
|
||||
exit()
|
||||
|
||||
Reference in New Issue
Block a user