Skip to content

Commit

Permalink
更新安装地址
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-cq committed Dec 18, 2023
1 parent 5d50053 commit 3e51f2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/init_alist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cd "$(dirname "$0")" || exit
mkdir -p alist
cd alist || exit

VERSION=${ALIST_VERSION:-"v3.29.1"}
VERSION=${ALIST_VERSION:-"3.29.1"}


platform=$(uname -s | tr '[:upper:]' '[:lower:]')
Expand All @@ -20,7 +20,7 @@ case $(uname -m) in
aarch64 | arm64) cpu="arm64" ;;
esac
filename="alist-${platform}-${cpu}${fix}"
export download_url="https://github.com/alist-org/alist/releases/download/${VERSION}/${filename}"
export download_url="https://github.com/alist-org/alist/releases/download/v${VERSION}/${filename}"

if [ ! -f alist ]; then
set -e
Expand Down

0 comments on commit 3e51f2c

Please sign in to comment.