From e94ebecfa25cc59f1463d61c6db01aacb3ddf26f Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Tue, 30 Jan 2024 09:57:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E5=9C=A8=E4=BD=BF=E7=94=A8=E7=A8=8B=E5=BA=8F=E7=9A=84?= =?UTF-8?q?=E4=B8=80=E4=BA=9B=E5=8A=9F=E8=83=BD=E6=97=B6=E5=8F=91=E7=94=9F?= =?UTF-8?q?=E5=B4=A9=E6=BA=83=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- information.json | 7 ++++--- mainwindow.py | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/information.json b/information.json index 49052bb..5d5c294 100755 --- a/information.json +++ b/information.json @@ -26,9 +26,10 @@ "※1、支持 deepin 23,不需要强制依赖 aapt", "※2、修复 deepin 23 安装的 APK 无法正常在启动器显示图标的问题", "※3、新增 ARM 架构非飞腾 CPU 识别防止破坏鲲鹏 kbox 环境", - "4、优化安装量统计机制", - "5、关于窗口新增赞助页", - "6、新增 QQ 交流群入口", + "※4、修复部分系统在使用程序的一些功能时发生崩溃的问题", + "5、优化安装量统计机制", + "6、关于窗口新增赞助页", + "7、新增 QQ 交流群入口", "", "V2.1.2:", "※1、修复 https://gitee.com/gfdgd-xi/uengine-runner/issues/I6ZRZX", diff --git a/mainwindow.py b/mainwindow.py index e11614e..b6c677a 100755 --- a/mainwindow.py +++ b/mainwindow.py @@ -1004,7 +1004,7 @@ class UengineWindowSizeSetting: i.setChecked(True) UengineWindowSizeSetting.setting.setWindowTitle(f"设置 Android 应用的窗口大小缩放设置") UengineWindowSizeSetting.setting.show() - UengineWindowSizeSetting.setting.resize(UengineWindowSizeSetting.setting.frameSize().width() * 1.3, UengineWindowSizeSetting.setting.frameSize().height()) + UengineWindowSizeSetting.setting.resize(int(UengineWindowSizeSetting.setting.frameSize().width() * 1.3), int(UengineWindowSizeSetting.setting.frameSize().height())) def ReadSetting(): file = open(f"/usr/share/uengine/appetc/{UengineWindowSizeSetting.package}.txt") @@ -1191,7 +1191,7 @@ class UpdateWindow(): UpdateWindow.update.setCentralWidget(updateWidget) UpdateWindow.update.setWindowTitle("检查 UEngine 运行器更新") UpdateWindow.update.setWindowIcon(QtGui.QIcon(iconPath)) - UpdateWindow.update.resize(updateWidget.frameGeometry().width(), int(updateWidget.frameGeometry().height() * 1.5)) + UpdateWindow.update.resize(int(updateWidget.frameGeometry().width()), int(updateWidget.frameGeometry().height() * 1.5)) UpdateWindow.update.show() def Update(): @@ -1410,7 +1410,7 @@ class ShowTextTipsWindow(): ShowTextTipsWindow.messageWindow.setWindowTitle("提示") ShowTextTipsWindow.messageWindow.setWindowIcon(QtGui.QIcon(iconPath)) ShowTextTipsWindow.messageWindow.show() - ShowTextTipsWindow.messageWindow.resize(ShowTextTipsWindow.messageWindow.frameSize().width() * 2, ShowTextTipsWindow.messageWindow.frameSize().height() * 1.5) + ShowTextTipsWindow.messageWindow.resize(int(ShowTextTipsWindow.messageWindow.frameSize().width() * 2), int(ShowTextTipsWindow.messageWindow.frameSize().height() * 1.5)) return # 添加/删除 uengine 应用快捷方式