From aeb3bb0310d0e1e8e1d28a20a913154dea7a26de Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Thu, 19 Jan 2023 22:21:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AutoShell/main.py | 2 +- ConfigLanguareRunner-help.json | 3 ++- ConfigLanguareRunner.py | 2 +- Help/index.html | 2 ++ mainwindow.py | 2 +- new-deb-build/DEBIAN/postrm | 13 +++++++++++-- 6 files changed, 18 insertions(+), 6 deletions(-) diff --git a/AutoShell/main.py b/AutoShell/main.py index 4e4b82f..93df99b 100755 --- a/AutoShell/main.py +++ b/AutoShell/main.py @@ -68,7 +68,7 @@ if len(sys.argv) - optionAll < 2: command = "" for i in sys.argv[1:]: command += f"\"{i}\" " -print("Wine 运行器自动配置文件解析器(基于 Bash)") +print("UEngine 运行器自动配置文件解析器(基于 Bash)") print(f"版本:{version}") print(f"©2020~{time.strftime('%Y')} gfdgd xi、为什么您不喜欢熊出没和阿布呢") print("--------------------------------------------------------------") diff --git a/ConfigLanguareRunner-help.json b/ConfigLanguareRunner-help.json index e7f594c..82ff52f 100644 --- a/ConfigLanguareRunner-help.json +++ b/ConfigLanguareRunner-help.json @@ -42,5 +42,6 @@ "installother": "安装未归类的运行库到指定容器\n参数数量:1\n参数介绍:在安装其它运行库工具的编号,如 2 MFC运行库", "decompressionbottle": "解压用 wine 打包的 deb 包内的容器到指定路径\n参数数量:2\n参数介绍:deb 包路径+要解压到的路径", "programforum": "打开程序论坛\n参数数量:0\n参数介绍:无", - "installmsi": "安装 MSI 文件到指定容器\n参数数量:1\n参数介绍:msi 文件路径" + "installmsi": "安装 MSI 文件到指定容器\n参数数量:1\n参数介绍:msi 文件路径", + "installapk": "安装 APK 文件到 UEngine\n参数数量:1\n参数介绍:apk 文件路径" } \ No newline at end of file diff --git a/ConfigLanguareRunner.py b/ConfigLanguareRunner.py index 240e2f4..6f379b2 100755 --- a/ConfigLanguareRunner.py +++ b/ConfigLanguareRunner.py @@ -665,7 +665,7 @@ if __name__ == "__main__": except: print("错误:无法读取该文件,无法继续") sys.exit(1) - print("Wine 运行器自动配置文件解析器") + print("UEngine 运行器自动配置文件解析器") print(f"版本:{version}") print(f"©2020~{time.strftime('%Y')} gfdgd xi、为什么您不喜欢熊出没和阿布呢") print("--------------------------------------------------------------") diff --git a/Help/index.html b/Help/index.html index b7f412d..cb56888 100755 --- a/Help/index.html +++ b/Help/index.html @@ -20,6 +20,8 @@ 以前的版本。(如需连接UEngine请安装adb补丁)


+

+

详细帮助

如何安装自己的 Apk

请保证您已经把要安装的Apk下载到电脑本地并保证Apk完整且有权限

diff --git a/mainwindow.py b/mainwindow.py index 879965e..5ddaa49 100755 --- a/mainwindow.py +++ b/mainwindow.py @@ -1799,7 +1799,7 @@ if not os.path.exists("/usr/bin/uengine"): # Deepin/UOS 用户 if "deepin" in SystemVersion.lower() or "uos" in SystemVersion.lower(): if QtWidgets.QMessageBox.question(None, "提示", "您的电脑没有安装 UEngine,是否安装 UEngine 以便更好的使用\n安装完后重新启动该程序即可") == QtWidgets.QMessageBox.Yes: - OpenTerminal(f"'pkexec apt install uengine -y") + OpenTerminal(f"pkexec apt install uengine -y") sys.exit(0) # 非 Deepin/UOS 用户 # 因为安装器出现问题,所以废弃 diff --git a/new-deb-build/DEBIAN/postrm b/new-deb-build/DEBIAN/postrm index 6a7f9d5..569a596 100755 --- a/new-deb-build/DEBIAN/postrm +++ b/new-deb-build/DEBIAN/postrm @@ -37,16 +37,25 @@ if [ "$1" = "purge" ]; then echo /home/$username if [ -d "/home/$username/.config/uengine-runner/" ]; then rm -rf "/home/$username/.config/uengine-runner/" - rm -rf "/home/$username/.local/share/uengine-runner" + # 删除 QWebEngine 记录 rm -rf "/home/$username/.local/share/uengine-runner" rm -rf "/home/$username/.local/share/AutoConfig.py" - + rm -rf "/home/$username/.config/share/uengine-runner" + rm -rf "/home/$username/.config/share/AutoConfig.py" + rm -rf "/home/$username/.cache/share/uengine-runner" + rm -rf "/home/$username/.cache/share/AutoConfig.py" fi done # 清理 root 用户的配置文件 echo /root if [ -d "/root/.config/uengine-runner/" ]; then rm -rf "/root/.config/uengine-runner/" + rm -rf "/root/.local/share/uengine-runner" + rm -rf "/root/.local/share/AutoConfig.py" + rm -rf "/root/.config/share/uengine-runner" + rm -rf "/root/.config/share/AutoConfig.py" + rm -rf "/root/.cache/share/uengine-runner" + rm -rf "/root/.cache/share/AutoConfig.py" fi else echo "非 purge,跳过清理"