From c443796f8520e77c1b8a8e4e43a046e61f820d08 Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Wed, 14 Sep 2022 22:02:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BB=E5=8F=96depends=E5=92=8Crecommends?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deepin-wine-packager.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deepin-wine-packager.py b/deepin-wine-packager.py index 1ddd81d..d1bbdc8 100755 --- a/deepin-wine-packager.py +++ b/deepin-wine-packager.py @@ -1085,7 +1085,9 @@ def ReadDeb(unzip = False): "Package": e1_text, "Version": e2_text, "Description": e3_text, - "Maintainer": e4_text + "Maintainer": e4_text, + "Recommends": debRecommend, + "Depends": debDepends } for i in lists: # 遍历文件 @@ -1094,7 +1096,7 @@ def ReadDeb(unzip = False): lnkMap[items[:items.index(":")]].setText(items[items.index(":") + 1:].strip()) except: # 报错忽略 - print(f"{items}项忽略") + print(f"“{items}”项忽略") # 判断 postrm 文件是不是自动移除脚本 # 解包主文件 if not unzip: