From 53de8832cb5178fe73a7b16d75ec9ade94b2e54e Mon Sep 17 00:00:00 2001 From: Purevdorj Batgerel Date: Wed, 17 Apr 2024 15:25:28 -0500 Subject: [PATCH] Update webp_version --- bin/download_webp.ps1 | 2 +- bin/install_webp | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bin/download_webp.ps1 b/bin/download_webp.ps1 index ee63597..70045d7 100644 --- a/bin/download_webp.ps1 +++ b/bin/download_webp.ps1 @@ -1,7 +1,7 @@ $version = $env:webp_version if ($version -eq $null) { - $version = "1.3.2" + $version = "1.4.0" } $url_base = "http://storage.googleapis.com/downloads.webmproject.org/releases/webp/" diff --git a/bin/install_webp b/bin/install_webp index 24ddc64..effb281 100755 --- a/bin/install_webp +++ b/bin/install_webp @@ -5,7 +5,7 @@ if [ `id -u` != "0" ]; then exit 1 fi -VERSION=${1:-1.3.2} +VERSION=${1:-1.4.0} URL_BASE="http://storage.googleapis.com/downloads.webmproject.org/releases/webp/" @@ -13,6 +13,9 @@ MACHINE_TYPE=`uname -m` if [ ${MACHINE_TYPE} == 'x86_64' ]; then # 64-bit system FILENAME="libwebp-$VERSION-linux-x86-64.tar.gz" +elif [${MACHINE_TYPE} == 'aarch64' ]; then + # 64-bit ARM system + FILENAME="libwebp-$VERSION-linux-aarch64.tar.gz" else # 32-bit system FILENAME="libwebp-$VERSION-linux-x86-32.tar.gz"