From ca7ec5e7ade1a363915b4376018fcd28d8955ed6 Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Wed, 18 Jan 2023 13:46:28 +0800 Subject: [PATCH] =?UTF-8?q?UEngine=20=E5=AE=89=E8=A3=85=E5=99=A8=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E5=AE=89=E8=A3=85=E4=BD=BF=E7=94=A8=20SuperSU=20Root?= =?UTF-8?q?=20=E7=9A=84=E9=95=9C=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mainwindow.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mainwindow.py b/mainwindow.py index 40166f8..15e692b 100755 --- a/mainwindow.py +++ b/mainwindow.py @@ -448,6 +448,10 @@ def InstallRootUengineImage(): def UengineUbuntuInstall(): threading.Thread(target=os.system, args=[f"'{programPath}/launch.sh' deepin-terminal -e bash '{programPath + '/uengine-installer'}'"]).start() +def UengineUbuntuInstallRoot(): + # 加 SuperSU 参数 + threading.Thread(target=os.system, args=[f"'{programPath}/launch.sh' deepin-terminal -e bash '{programPath + '/uengine-installer'} SuperSU'"]).start() + def UbuntuInstallUengine(): threading.Thread(target=os.system, args=[f"'{programPath}/launch.sh' deepin-terminal -e bash '{programPath + '/uengine-installer'}'"]).start()