Skip to content

Commit

Permalink
Update appfile for mitmproxy 10.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartFinn committed Dec 16, 2023
1 parent a1fdc9c commit 5a16f12
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/mitmproxy@x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ app_install() {
local version="${1:-$(app_version)}"
local package="${APP_NAME}-${version}-linux"

if utils:compare_versions "$version" ge "10.1.6"; then
package="${APP_NAME}-${version}-linux-${APP_ARCH}"
fi

wget -O "$SDD_TEMP_DIR/$package.tar.gz" \
"https://snapshots.mitmproxy.org/$version/$package.tar.gz"
utils:extract "$SDD_TEMP_DIR/$package.tar.gz"
Expand Down

0 comments on commit 5a16f12

Please sign in to comment.