Skip to content

Commit

Permalink
Update webp_version
Browse files Browse the repository at this point in the history
  • Loading branch information
Purevdorj-Batgerel authored and lbeschastny committed Apr 18, 2024
1 parent 95f7c76 commit 4b4d5ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/download_webp.ps1
Original file line number Diff line number Diff line change
@@ -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/"
Expand Down
5 changes: 4 additions & 1 deletion bin/install_webp
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@ 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/"

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"
Expand Down

0 comments on commit 4b4d5ec

Please sign in to comment.