From 4ae21df251e0ff97d00a7c38015cbf0aa2495016 Mon Sep 17 00:00:00 2001 From: yutent Date: Tue, 9 Jan 2024 17:47:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- charles/package.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/charles/package.sh b/charles/package.sh index 0f3d508..4796dc1 100755 --- a/charles/package.sh +++ b/charles/package.sh @@ -3,17 +3,19 @@ origin_app_name="charles-proxy" app_name="charles" tmp_dir="/tmp/${app_name}_tmp" -version="4.6.5" +version="4.6.5-2" release="v${version}" replace_name="charles-nj" patch="Architecture: amd64" _type="amd64" +_desc=', 内置java-11 runtime' if [ "$1" == "nj" ]; then _type="all" app_name+="-nj" replace_name="charles" + _desc="" patch="""Architecture: all Depends: java11-runtime""" fi @@ -48,6 +50,7 @@ source_dir="${tmp_dir}/${app_name}" echo "下载官方原包..." wget $deb_url -O "${tmp_dir}/${app_name}.deb" +# cp ~/Downloads/${origin_app_name}_4.6.5_${_type}.deb "${tmp_dir}/${app_name}.deb" echo "下载完成, 解包中..." dpkg-deb -R "${tmp_dir}/${app_name}.deb" "${tmp_dir}/${app_name}" @@ -144,7 +147,7 @@ Replaces: ${replace_name} Priority: optional Installed-Size: ${size[0]} Homepage: https://www.charlesproxy.com/ -Description: 一个网络抓包调试工具, 内置java-11 runtime。 +Description: 一个网络抓包调试工具${_desc}。 Charles is an HTTP proxy / HTTP monitor / Reverse Proxy that enables a developer to view all of the HTTP and SSL / HTTPS traffic between their machine and the Internet. This includes requests, responses and the HTTP