diff --git a/deb/opt/apps/deepin-wine-runner/deepin-wine-packager.py b/deb/opt/apps/deepin-wine-runner/deepin-wine-packager.py index 07a19e1..e6101be 100755 --- a/deb/opt/apps/deepin-wine-runner/deepin-wine-packager.py +++ b/deb/opt/apps/deepin-wine-runner/deepin-wine-packager.py @@ -1393,7 +1393,9 @@ def ChangeArchCombobox(): option = True if debArch.currentIndex() != 0: option = False - #chooseWineHelperValue.setEnabled(option) + chooseWineHelperValue.setEnabled(option) + if not option: + chooseWineHelperValue.setChecked(False) wineVersion.setEnabled(option) useInstallWineArch.setEnabled(option) #rmBash.setEnabled(option) diff --git a/deb/opt/apps/deepin-wine-runner/deepin-wine-runner b/deb/opt/apps/deepin-wine-runner/deepin-wine-runner index cbef656..a7412d7 100755 --- a/deb/opt/apps/deepin-wine-runner/deepin-wine-runner +++ b/deb/opt/apps/deepin-wine-runner/deepin-wine-runner @@ -2053,35 +2053,35 @@ version = information["Version"] goodRunSystem = "常见 Linux 发行版" thankText = "" tips = '''
N: 鉴于仓库 'https://community-packages.deepin.com/beige beige InRelease' 不支持 'i386' 体系结构,跳过配置文件 'main/binary-i386/Packages' 的获取。
'''
-updateThingsString = '''※1、容器自动配置脚本 GUI 查看介绍使用 QWebEngineWidget,支持图片(非强制依赖,只做推荐)
-※2、不基于生态适配活动脚本打包器跟进 arm 架构 2022年11月11日的 Wine 微信打包方式
-※3、支持多图标的程序打包
-※4、修复了安装更多 Wine 换源换了个寂寞的问题
-※5、修复安装更多 Wine 重新安装后列表丢失的问题
-※6、新增了对 Deepin 23 Alpha 优化的 Wine 安装器
-※7、新增 Dll 名称查询功能,可以查询对应 Dll 的作用
-※8、支持静态获取可执行文件可以调用的 Dll 并提供解决方案
-※9、支持移除指定的 .desktop 快捷方式
-10、修复了不基于生态适配活动脚本打包器在选择 arm 打包架构下容器自动删除脚本取消勾选无用的问题
-11、优化文案、新增友链
-12、提供了部分组件的测试功能
+updateThingsString = '''※1、容器自动配置脚本 GUI 查看介绍使用 QWebEngineWidget,支持图片(非强制依赖,只做推荐);
+※2、不基于生态适配活动脚本打包器跟进 arm 架构 2022年11月11日的 Wine 微信打包方式;
+※3、支持多图标的程序打包;
+※4、修复了安装更多 Wine 换源换了个寂寞的问题;
+※5、修复安装更多 Wine 重新安装后列表丢失的问题;
+※6、新增了对 Deepin 23 Alpha 优化的 Wine 安装器;
+※7、新增 Dll 名称查询功能,可以查询对应 Dll 的作用;
+※8、支持静态获取可执行文件可以调用的 Dll 并提供解决方案;
+※9、支持移除指定的 .desktop 快捷方式;
+10、修复了不基于生态适配活动脚本打包器在选择 arm 打包架构下容器自动删除脚本取消勾选无用的问题;
+11、优化文案、新增友链;
+12、提供了部分组件的测试功能。
'''
for i in information["Thank"]:
thankText += f"{i}\n"
diff --git a/deb/opt/apps/deepin-wine-runner/package-script.zip b/deb/opt/apps/deepin-wine-runner/package-script.zip
index ba95108..8654514 100755
Binary files a/deb/opt/apps/deepin-wine-runner/package-script.zip and b/deb/opt/apps/deepin-wine-runner/package-script.zip differ
diff --git a/mainwindow.py b/mainwindow.py
index a7412d7..1f10956 100755
--- a/mainwindow.py
+++ b/mainwindow.py
@@ -1770,6 +1770,31 @@ class ValueCheck():
def ChangePath():
e1.setCurrentText(f'{setting["DefultBotton"]}/{os.path.splitext(os.path.basename(e2.currentText()))[0]}')
+def UploadLog():
+ if QtWidgets.QMessageBox.question(window, "提示", "您确定要上传吗?") == QtWidgets.QMessageBox.Yes:
+ text = QtWidgets.QInputDialog.getText(window, "输入内容", "输入内容以描述")
+ try:
+ requests.post("", {
+ "Log": returnText.toPlainText(),
+ "Wine": wine[o1.currentText()],
+ "Tips": text
+ })
+ except:
+ traceback.print_exc()
+ QtWidgets.QMessageBox.critical(window, "错误", "上传失败!")
+
+def SaveLog():
+ path = QtWidgets.QFileDialog.getSaveFileName(window, "")
+ if not path[1]:
+ return
+ print(path[0])
+ try:
+ with open(path[0], "w") as file:
+ file.write(returnText.toPlainText())
+ except:
+ traceback.print_exc()
+ QtWidgets.QMessageBox.critical(window, "错误", traceback.format_exc())
+
###########################
# 加载配置
###########################
diff --git a/package-script.zip b/package-script.zip
index ba95108..8654514 100755
Binary files a/package-script.zip and b/package-script.zip differ