Skip to content

Commit

Permalink
refactor: disable aria2 rpc (#1135)
Browse files Browse the repository at this point in the history
Co-authored-by: port19 <[email protected]>
  • Loading branch information
candrapersada and port19x authored May 28, 2023
1 parent f16191a commit a4c6117
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ani-cli
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

version_number="4.3.0"
version_number="4.3.1"

# UI

Expand Down Expand Up @@ -222,7 +222,7 @@ download() {
if uname -a | grep -q "ish"; then
curl --output-dir "$download_dir" -o "$2.mp4" "$1"
else
aria2c --check-certificate=false --continue --summary-interval=0 -x 16 -s 16 "$1" --dir="$download_dir" -o "$2.mp4" --download-result=hide
aria2c --enable-rpc=false --check-certificate=false --continue --summary-interval=0 -x 16 -s 16 "$1" --dir="$download_dir" -o "$2.mp4" --download-result=hide
fi
fi ;;
esac
Expand Down

0 comments on commit a4c6117

Please sign in to comment.