diff --git a/com.gitee.uengine.runner.spark.deb b/com.gitee.uengine.runner.spark.deb index ed76ea9..3ff6cb8 100755 Binary files a/com.gitee.uengine.runner.spark.deb and b/com.gitee.uengine.runner.spark.deb differ diff --git a/information.json b/information.json index d23e93d..82275a1 100755 --- a/information.json +++ b/information.json @@ -5,7 +5,7 @@ "https://github.com/gfdgd-xi/uengine-runner", "https://gitlink.org.cn/gfdgd_xi/uengine-runner" ], - "Version": "1.8.1", + "Version": "1.8.1-1", "System": "Linux(deepin/UOS)", "Tips": [ "更多可见:https://gitee.com/gfdgd-xi/uengine-runner/wikis 或程序的更多帮助", @@ -23,6 +23,10 @@ "5、如果想要使用adb连接UEngine或其他手机,请使用 1.2.0 以前的版本。(如需连接UEngine请安装adb补丁)" ], "Update": [ + "V1.8.1-1:", + "※1、修复缺失依赖 python3-matplotlib 导致程序无法开启的问题", + "※2、移除在 Ubuntu 上用于安装 UEngine 的安装工具", + "", "V1.8.1:", "※1、修复在 APK 详细信息中图标可能过大导致无法正常使用的问题", "※2、修复 APK 路径带空格无法正常安装的问题", @@ -206,4 +210,4 @@ "参考 忘记、过去(https://bbs.deepin.org/user/154730) 的帖子《如何更优雅地使用 pkexec》(https://bbs.deepin.org/post/202966)", "感谢 U+解答组们 反馈的 1.8.0 带路径无法正常安装 APK 的问题" ] -} \ No newline at end of file +} diff --git a/mainwindow.py b/mainwindow.py index fcd01b7..fc25f60 100755 --- a/mainwindow.py +++ b/mainwindow.py @@ -1659,10 +1659,13 @@ if not os.path.exists("/usr/bin/uengine"): os.system(f"'{programPath}/launch.sh' deepin-terminal -C \"pkexec apt install uengine -y\"") sys.exit(0) # 非 Deepin/UOS 用户 + # 因为安装器出现问题,所以废弃 else: - if QtWidgets.QMessageBox.question(None, "提示", "您的电脑没有安装 UEngine,是否安装 UEngine 以便更好的使用\n这里将会使用 shenmo 提供的脚本进行安装\n安装完后重新启动该程序即可\n提示:无法保证此安装脚本安装的 UEngine 可以使用") == QtWidgets.QMessageBox.Yes: - os.system(f"'{programPath}/launch.sh' deepin-terminal -C \"bash '{programPath}/uengine-installer'\"") - sys.exit(0) + QtWidgets.QMessageBox.critical(None, "错误", "请安装 UEngine 后继续") + sys.exit(0) + #if QtWidgets.QMessageBox.question(None, "提示", "您的电脑没有安装 UEngine,是否安装 UEngine 以便更好的使用\n这里将会使用 shenmo 提供的脚本进行安装\n安装完后重新启动该程序即可\n提示:无法保证此安装脚本安装的 UEngine 可以使用") == QtWidgets.QMessageBox.Yes: + # os.system(f"'{programPath}/launch.sh' deepin-terminal -C \"bash '{programPath}/uengine-installer'\"") + # sys.exit(0) ########################### # 窗口创建 @@ -1820,6 +1823,7 @@ uengineData = uengine.addMenu(langFile[lang]["Main"]["MainWindow"]["Menu"][2]["M uengine.addAction(uengineDeleteUengineCheck) uengine.addAction(uengineReinstall) uengineRoot = uengine.addMenu(langFile[lang]["Main"]["MainWindow"]["Menu"][2]["Menu"][11]["Name"]) +uengineUbuntuInstall.setDisabled(True) # 绑定信号 uengineAllowOrDisallowUpdateAndroidApp.triggered.connect(AllowOrDisallowUpdateAndroidApp) uengineSetHttpProxy.triggered.connect(SetHttpProxy) diff --git a/new-deb-build/DEBIAN/control b/new-deb-build/DEBIAN/control index accbd57..585ea50 100755 --- a/new-deb-build/DEBIAN/control +++ b/new-deb-build/DEBIAN/control @@ -1,7 +1,7 @@ Package: com.gitee.uengine.runner.spark Source: com.gitee.uengine.runner.spark Replaces: spark-uengine-runner, com.gitee.uengine.runner.spark.ubuntu -Version: 1.8.1 +Version: 1.8.1-1 Architecture: all Section: utils Installed-Size: 1600 @@ -11,7 +11,9 @@ Recommends: uengine, deepin-elf-verify (>= 0.0.16.7-1) Priority: optional Conflicts: spark-uengine-apk-builder, com.gitee.uengine.runner.spark.ubuntu Homepage: [https://gitee.com/gfdgd-xi/uengine-runner, https://github.com/gfdgd-xi/uengine-runner, https://www.gitlink.org.cn/gfdgd_xi/uengine-runner] -Description: UEngine 运行器,1.8.1 更新内容: +Description: UEngine 运行器,1.8.1-1 更新内容: + 1、修复依赖缺失导致程序无法开启的问题 + 1.8.1更新内容: ※1、修复在 APK 详细信息中图标可能过大导致无法正常使用的问题 ※2、修复 APK 路径带空格无法正常安装的问题 3、修复打包器打包的 APK 带下划线“_”无法正常打包的问题 diff --git a/new-deb-build/DEBIAN/postinst b/new-deb-build/DEBIAN/postinst index d477295..c22b3aa 100755 --- a/new-deb-build/DEBIAN/postinst +++ b/new-deb-build/DEBIAN/postinst @@ -21,4 +21,4 @@ ln -s /opt/apps/com.gitee.uengine.runner.spark/files/uengine-runner-applist-laun # 因为 Ubuntu 的问题,省略 gtk-update-icon-cache /usr/share/icons/bloom > /dev/null | true # 向服务器返回安装数加1(不显示内容且忽略错误) -curl https://304626p927.goho.co/uengine-runner/Install.php?Version=1.8.1 -s > /dev/null | true \ No newline at end of file +curl https://304626p927.goho.co/uengine-runner/Install.php?Version=1.8.1-1 -s > /dev/null | true diff --git a/new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/information.json b/new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/information.json index c4d94d7..82275a1 100755 --- a/new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/information.json +++ b/new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/information.json @@ -5,7 +5,7 @@ "https://github.com/gfdgd-xi/uengine-runner", "https://gitlink.org.cn/gfdgd_xi/uengine-runner" ], - "Version": "1.8.1", + "Version": "1.8.1-1", "System": "Linux(deepin/UOS)", "Tips": [ "更多可见:https://gitee.com/gfdgd-xi/uengine-runner/wikis 或程序的更多帮助", @@ -23,6 +23,10 @@ "5、如果想要使用adb连接UEngine或其他手机,请使用 1.2.0 以前的版本。(如需连接UEngine请安装adb补丁)" ], "Update": [ + "V1.8.1-1:", + "※1、修复缺失依赖 python3-matplotlib 导致程序无法开启的问题", + "※2、移除在 Ubuntu 上用于安装 UEngine 的安装工具", + "", "V1.8.1:", "※1、修复在 APK 详细信息中图标可能过大导致无法正常使用的问题", "※2、修复 APK 路径带空格无法正常安装的问题", @@ -185,7 +189,7 @@ "11、deepin 终端", "……" ], - "Time": "2022年08月29日", + "Time": "2022年08月30日", "Contribute": [ "感谢以下用户提供的问题、建议、图标、代码等,如果有遗漏,请及时与开发者联系添加,以及如果侵犯到您的合法权益,也及时与开发者联系:

", "
", @@ -206,4 +210,4 @@ "参考 忘记、过去(https://bbs.deepin.org/user/154730) 的帖子《如何更优雅地使用 pkexec》(https://bbs.deepin.org/post/202966)", "感谢 U+解答组们 反馈的 1.8.0 带路径无法正常安装 APK 的问题" ] -} \ No newline at end of file +} diff --git a/new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/uengine-runner b/new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/uengine-runner index fcd01b7..fc25f60 100755 --- a/new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/uengine-runner +++ b/new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/uengine-runner @@ -1659,10 +1659,13 @@ if not os.path.exists("/usr/bin/uengine"): os.system(f"'{programPath}/launch.sh' deepin-terminal -C \"pkexec apt install uengine -y\"") sys.exit(0) # 非 Deepin/UOS 用户 + # 因为安装器出现问题,所以废弃 else: - if QtWidgets.QMessageBox.question(None, "提示", "您的电脑没有安装 UEngine,是否安装 UEngine 以便更好的使用\n这里将会使用 shenmo 提供的脚本进行安装\n安装完后重新启动该程序即可\n提示:无法保证此安装脚本安装的 UEngine 可以使用") == QtWidgets.QMessageBox.Yes: - os.system(f"'{programPath}/launch.sh' deepin-terminal -C \"bash '{programPath}/uengine-installer'\"") - sys.exit(0) + QtWidgets.QMessageBox.critical(None, "错误", "请安装 UEngine 后继续") + sys.exit(0) + #if QtWidgets.QMessageBox.question(None, "提示", "您的电脑没有安装 UEngine,是否安装 UEngine 以便更好的使用\n这里将会使用 shenmo 提供的脚本进行安装\n安装完后重新启动该程序即可\n提示:无法保证此安装脚本安装的 UEngine 可以使用") == QtWidgets.QMessageBox.Yes: + # os.system(f"'{programPath}/launch.sh' deepin-terminal -C \"bash '{programPath}/uengine-installer'\"") + # sys.exit(0) ########################### # 窗口创建 @@ -1820,6 +1823,7 @@ uengineData = uengine.addMenu(langFile[lang]["Main"]["MainWindow"]["Menu"][2]["M uengine.addAction(uengineDeleteUengineCheck) uengine.addAction(uengineReinstall) uengineRoot = uengine.addMenu(langFile[lang]["Main"]["MainWindow"]["Menu"][2]["Menu"][11]["Name"]) +uengineUbuntuInstall.setDisabled(True) # 绑定信号 uengineAllowOrDisallowUpdateAndroidApp.triggered.connect(AllowOrDisallowUpdateAndroidApp) uengineSetHttpProxy.triggered.connect(SetHttpProxy) diff --git a/new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/uengine-runner-applist-launch.sh b/new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/uengine-runner-applist-launch.sh index c2901f1..20255aa 100755 --- a/new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/uengine-runner-applist-launch.sh +++ b/new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/uengine-runner-applist-launch.sh @@ -18,10 +18,12 @@ else "$dir/uengine-runner-applist-launch.sh" deepin-terminal -C "pkexec apt install uengine -y" fi else - echo "非 Deepin/UOS 系统,使用 shenmo 提供的脚本安装\n暂未保证此安装脚本一定安装成功" - zenity --question --text="您还未安装 UEngine,是否现在安装?\n将会使用 shenmo 提供的脚本进行安装\n暂未保证此安装脚本一定安装成功" --no-wrap - if [[ $? = 0 ]]; then - deepin-terminal -C "bash /opt/apps/com.gitee.uengine.runner.spark/files/uengine-installer" - fi + # 因为安装器出现问题,所以废弃 + zenity --error --text="请安装 UEngine 后继续" --no-wrap + #echo "非 Deepin/UOS 系统,使用 shenmo 提供的脚本安装\n暂未保证此安装脚本一定安装成功" + #zenity --question --text="您还未安装 UEngine,是否现在安装?\n将会使用 shenmo 提供的脚本进行安装\n暂未保证此安装脚本一定安装成功" --no-wrap + #if [[ $? = 0 ]]; then + # deepin-terminal -C "bash /opt/apps/com.gitee.uengine.runner.spark/files/uengine-installer" + #fi fi fi diff --git a/uengine-runner-applist-launch.sh b/uengine-runner-applist-launch.sh index c2901f1..20255aa 100755 --- a/uengine-runner-applist-launch.sh +++ b/uengine-runner-applist-launch.sh @@ -18,10 +18,12 @@ else "$dir/uengine-runner-applist-launch.sh" deepin-terminal -C "pkexec apt install uengine -y" fi else - echo "非 Deepin/UOS 系统,使用 shenmo 提供的脚本安装\n暂未保证此安装脚本一定安装成功" - zenity --question --text="您还未安装 UEngine,是否现在安装?\n将会使用 shenmo 提供的脚本进行安装\n暂未保证此安装脚本一定安装成功" --no-wrap - if [[ $? = 0 ]]; then - deepin-terminal -C "bash /opt/apps/com.gitee.uengine.runner.spark/files/uengine-installer" - fi + # 因为安装器出现问题,所以废弃 + zenity --error --text="请安装 UEngine 后继续" --no-wrap + #echo "非 Deepin/UOS 系统,使用 shenmo 提供的脚本安装\n暂未保证此安装脚本一定安装成功" + #zenity --question --text="您还未安装 UEngine,是否现在安装?\n将会使用 shenmo 提供的脚本进行安装\n暂未保证此安装脚本一定安装成功" --no-wrap + #if [[ $? = 0 ]]; then + # deepin-terminal -C "bash /opt/apps/com.gitee.uengine.runner.spark/files/uengine-installer" + #fi fi fi