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 应用快捷方式