From 01a33076264cd78842043b2b476d3eefb1cefd39 Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Sat, 3 Dec 2022 22:14:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deepin-wine-packager.py | 4 ++-- information.json | 5 +++-- mainwindow.py | 13 ++++++++----- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/deepin-wine-packager.py b/deepin-wine-packager.py index b7dd971..6f97368 100755 --- a/deepin-wine-packager.py +++ b/deepin-wine-packager.py @@ -1884,8 +1884,8 @@ widgetLayout.addWidget(QtWidgets.QLabel(QtCore.QCoreApplication.translate("U", " widgetLayout.addWidget(QtWidgets.QLabel(QtCore.QCoreApplication.translate("U", "deb 包的版本号(※必填):")), 1, 0, 1, 1) widgetLayout.addWidget(QtWidgets.QLabel(QtCore.QCoreApplication.translate("U", "deb 包的说明(※必填):")), 2, 0, 1, 1) widgetLayout.addWidget(QtWidgets.QLabel(QtCore.QCoreApplication.translate("U", "deb 包的维护者(※必填):")), 3, 0, 1, 1) -widgetLayout.addWidget(QtWidgets.QLabel(QtCore.QCoreApplication.translate("U", "要解压的 wine 容器的容器名(※必填):")), 4, 0, 1, 1) -widgetLayout.addWidget(QtWidgets.QLabel(QtCore.QCoreApplication.translate("U", "要打包的 wine 容器(※必填):")), 5, 0, 1, 1) +widgetLayout.addWidget(QtWidgets.QLabel(QtCore.QCoreApplication.translate("U", "要解压的 wine 容器的名称(※必填):")), 4, 0, 1, 1) +widgetLayout.addWidget(QtWidgets.QLabel(QtCore.QCoreApplication.translate("U", "要打包的 wine 容器路径(※必填):")), 5, 0, 1, 1) desktopIconTab = QtWidgets.QTabWidget() controlWidget = QtWidgets.QWidget() controlWidgetLayout = QtWidgets.QHBoxLayout() diff --git a/information.json b/information.json index fc072cf..9fe03a8 100755 --- a/information.json +++ b/information.json @@ -1,10 +1,11 @@ { "Version": "2.5.0", "Thank": [ - "感谢 @雁舞白沙 专门为小白用户编写的使用 Wine 运行器非基于生态适配脚本的程序打包教程", + "感谢 @璀璨星空 提供的彩蛋图标", + "感谢 @鹤舞白沙 专门为小白用户编写的使用 Wine 运行器非基于生态适配脚本的程序打包教程", "感谢 @牦牛儿苗 进行了龙芯 3a5000 平台的测试与移植", "感谢 @雁舞白沙 优化了程序文案", - "感谢 @豪 的程序测试和制作的非官方论坛 https://gfdgdxi.flarum.cloud/", + "感谢 @豪 的程序测试和制作的论坛 https://gfdgdxi.flarum.cloud/", "感谢 @185******67 反馈的 2.4.0 无法打开 Visual Basic 组件安装工具的问题", "感谢 @shenmo 提供的 在打包器的 postrm 脚本添加 kill.sh、追加参数改为 --uri xxxxxxx、独立生成容器 7z 文件的功能", "感谢 @a2035274 @虚幻的早晨 https://bbs.deepin.org/post/238301", diff --git a/mainwindow.py b/mainwindow.py index 6f2f046..1c61bb9 100755 --- a/mainwindow.py +++ b/mainwindow.py @@ -2165,8 +2165,8 @@ print(wine) ########################### # 程序信息 ########################### -#iconPath = "{}/deepin-wine-runner.svg".format(programPath) -iconPath = "{}/Icon/Program/wine运行器.png".format(programPath) +iconPath = "{}/deepin-wine-runner.svg".format(programPath) +#iconPath = "{}/Icon/Program/wine运行器.png".format(programPath) programUrl = "https://gitee.com/gfdgd-xi/deep-wine-runner\nhttps://github.com/gfdgd-xi/deep-wine-runner\nhttps://www.gitlink.org.cn/gfdgd_xi/deep-wine-runner\nhttps://gfdgd-xi.github.io" information = json.loads(readtxt(f"{programPath}/information.json")) version = information["Version"] @@ -2215,7 +2215,6 @@ a:link, a:active {{

关于

Wine运行器是一个能让Linux用户更加方便地运行Windows应用的程序,内置了对Wine图形化的支持、各种Wine工具、自制的Wine程序打包器和运行库安装工具等。

它同时还内置了基于VirtualBox制作的、专供小白使用的Windows虚拟机安装工具,可以做到只需下载系统镜像并点击安装即可,无需考虑虚拟机的安装、创建、分区等操作。

-

本程序依照 GPLV3 协议开源

 
 一个图形化了如下命令的程序(最简单格式)
@@ -2226,9 +2225,10 @@ a:link, a:active {{
 适用平台:{goodRunSystem}(@VersionForType@)
 Qt 版本:{QtCore.qVersion()}
 程序官网:{programUrl}
-程序占用体积:@programSize@MB
+当前程序占用体积:@programSize@MB +

本程序依照 GPLV3 协议开源


-

谢明名单

+

鸣谢名单

{thankText}

更新内容

@@ -2698,6 +2698,7 @@ h6 = QtWidgets.QAction(QtCore.QCoreApplication.translate("U", "反馈这个程 h7 = QtWidgets.QAction(QtCore.QCoreApplication.translate("U", "关于这个程序")) h8 = QtWidgets.QAction(QtCore.QCoreApplication.translate("U", "关于 Qt")) gfdgdxiio = QtWidgets.QAction(QtCore.QCoreApplication.translate("U", "作者个人站")) +forumWebsize = QtWidgets.QAction(QtCore.QCoreApplication.translate("U", "程序论坛")) gitee = QtWidgets.QAction(QtCore.QCoreApplication.translate("U", "Gitee")) github = QtWidgets.QAction(QtCore.QCoreApplication.translate("U", "Github")) gitlink = QtWidgets.QAction(QtCore.QCoreApplication.translate("U", "Gitlink")) @@ -2710,6 +2711,7 @@ h1.addAction(gitlink) h1.addAction(gitlab) h1.addAction(jihu) help.addSeparator() +help.addAction(forumWebsize) help.addAction(runStatusWebSize) help.addSeparator() help.addAction(h2) @@ -2739,6 +2741,7 @@ gitlink.triggered.connect(lambda: webbrowser.open_new_tab("https://gitlink.org.c gitlab.triggered.connect(lambda: webbrowser.open_new_tab("https://gitlab.com/gfdgd-xi/deep-wine-runner")) jihu.triggered.connect(lambda: webbrowser.open_new_tab("https://jihulab.com//gfdgd-xi/deep-wine-runner")) runStatusWebSize.triggered.connect(lambda: webbrowser.open_new_tab("https://gfdgd-xi.github.io/wine-runner-info")) +forumWebsize.triggered.connect(lambda: webbrowser.open_new_tab("https://gfdgdxi.flarum.cloud/")) h2.triggered.connect(helps) h3.triggered.connect(UpdateThings) h4.triggered.connect(ThankWindow)