From 82bd073ff87dbe00a8ce75931b09d0d4243595a8 Mon Sep 17 00:00:00 2001 From: gfdgd-xi <3025613752@qq.com> Date: Fri, 30 Aug 2024 22:46:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8gxde-terminal=E6=9B=BF?= =?UTF-8?q?=E4=BB=A3deepin-terminal-gtk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Model/__init__.py | 8 ++++---- deb/DEBIAN/control | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Model/__init__.py b/Model/__init__.py index 2e1ea3d..ddca85f 100755 --- a/Model/__init__.py +++ b/Model/__init__.py @@ -14,14 +14,14 @@ programPath = os.path.split(os.path.realpath(__file__))[0] # 返回 string terminal = "" terminalList = [ "deepin-terminal", - "deepin-terminal-gtk", + "gxde-terminal", "mate-terminal", "gnome-terminal", "xfce4-terminal" ] terminalEnd = { 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], "gnome-terminal": ["--", 0], "xfce4-terminal": ["-e", 1] @@ -31,7 +31,7 @@ for i in terminalList: if i == "deepin-terminal": i = f"{programPath}/../launch.sh\" \"deepin-terminal" if i == "deepin-terminal-gtk": - i = f"{programPath}/../launch.sh\" \"deepin-terminal-gtk" + i = f"{programPath}/../launch.sh\" \"gxde-terminal" terminal = i break if terminal == "": @@ -57,4 +57,4 @@ class TurnDeb(): def ToTarZst(self): if os.system("debtap"): raise NameError("无法找到 debtap 命令,请先安装 debtap") - os.system(f"debtap -Q '{self.debPath}'") \ No newline at end of file + os.system(f"debtap -Q '{self.debPath}'") diff --git a/deb/DEBIAN/control b/deb/DEBIAN/control index e2edaf4..c53d7b2 100755 --- a/deb/DEBIAN/control +++ b/deb/DEBIAN/control @@ -18,7 +18,7 @@ Depends: python3, python3-requests, python3-pyqt5 | pyqt5, 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-pip | pip, p7zip-full | p7zip-legacy | p7zip, sudo,