修复打包
parent
fe2847ac3e
commit
4ae21df251
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue