mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-07-15 18:12:23 +08:00
使用gxde-terminal替代deepin-terminal-gtk
This commit is contained in:
parent
ebed98fd25
commit
82bd073ff8
@ -14,14 +14,14 @@ programPath = os.path.split(os.path.realpath(__file__))[0] # 返回 string
|
|||||||
terminal = ""
|
terminal = ""
|
||||||
terminalList = [
|
terminalList = [
|
||||||
"deepin-terminal",
|
"deepin-terminal",
|
||||||
"deepin-terminal-gtk",
|
"gxde-terminal",
|
||||||
"mate-terminal",
|
"mate-terminal",
|
||||||
"gnome-terminal",
|
"gnome-terminal",
|
||||||
"xfce4-terminal"
|
"xfce4-terminal"
|
||||||
]
|
]
|
||||||
terminalEnd = {
|
terminalEnd = {
|
||||||
f"{programPath}/../launch.sh\" \"deepin-terminal": ["-e", 0],
|
f"{programPath}/../launch.sh\" \"deepin-terminal": ["-e", 0],
|
||||||
f"{programPath}/../launch.sh\" \"deepin-terminal-gtk": ["-e", 0],
|
f"{programPath}/../launch.sh\" \"gxde-terminal": ["-e", 0],
|
||||||
"mate-terminal": ["-e", 1],
|
"mate-terminal": ["-e", 1],
|
||||||
"gnome-terminal": ["--", 0],
|
"gnome-terminal": ["--", 0],
|
||||||
"xfce4-terminal": ["-e", 1]
|
"xfce4-terminal": ["-e", 1]
|
||||||
@ -31,7 +31,7 @@ for i in terminalList:
|
|||||||
if i == "deepin-terminal":
|
if i == "deepin-terminal":
|
||||||
i = f"{programPath}/../launch.sh\" \"deepin-terminal"
|
i = f"{programPath}/../launch.sh\" \"deepin-terminal"
|
||||||
if i == "deepin-terminal-gtk":
|
if i == "deepin-terminal-gtk":
|
||||||
i = f"{programPath}/../launch.sh\" \"deepin-terminal-gtk"
|
i = f"{programPath}/../launch.sh\" \"gxde-terminal"
|
||||||
terminal = i
|
terminal = i
|
||||||
break
|
break
|
||||||
if terminal == "":
|
if terminal == "":
|
||||||
|
@ -18,7 +18,7 @@ Depends: python3,
|
|||||||
python3-requests,
|
python3-requests,
|
||||||
python3-pyqt5 | pyqt5,
|
python3-pyqt5 | pyqt5,
|
||||||
python3-psutil | pypsutil,
|
python3-psutil | pypsutil,
|
||||||
xfce4-terminal | deepin-terminal-gtk | deepin-terminal | mate-terminal | gnome-terminal,
|
xfce4-terminal | gxde-terminal | deepin-terminal | mate-terminal | gnome-terminal,
|
||||||
python3-dbus,
|
python3-dbus,
|
||||||
python3-pip | pip, p7zip-full | p7zip-legacy | p7zip,
|
python3-pip | pip, p7zip-full | p7zip-legacy | p7zip,
|
||||||
sudo,
|
sudo,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user