chore: update OAT related script
All checks were successful
link / Link assets on Linux (push) Successful in 36s
All checks were successful
link / Link assets on Linux (push) Successful in 36s
This commit is contained in:
parent
092b8d73fd
commit
bbac4f1ffc
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
# Validate OAT version
|
# Validate OAT version
|
||||||
if [[ -z "$OAT_VERSION" ]]; then
|
if [[ -z "$OAT_VERSION" ]]; then
|
||||||
echo "No OAT version was specified, please set the OAT_VERSION environment variable."
|
echo "No OAT version was specified, please set the OAT_VERSION environment variable."
|
||||||
@ -7,9 +9,10 @@ if [[ -z "$OAT_VERSION" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Make sure we have cURL (and file for debugging)
|
# Make sure we have cURL (and file for debugging)
|
||||||
|
echo "Downloading dependencies"
|
||||||
dpkg --add-architecture i386
|
dpkg --add-architecture i386
|
||||||
apt-get update
|
apt-get update > /dev/null 2>&1
|
||||||
apt-get install -y curl file libstdc++-13-dev:i386
|
apt-get install -y curl file libstdc++-13-dev:i386 > /dev/null 2>&1
|
||||||
|
|
||||||
# Construct the download URL
|
# Construct the download URL
|
||||||
DOWNLOAD_URL="https://github.com/Laupetin/OpenAssetTools/releases/download/v${OAT_VERSION}/oat-linux.tar.gz"
|
DOWNLOAD_URL="https://github.com/Laupetin/OpenAssetTools/releases/download/v${OAT_VERSION}/oat-linux.tar.gz"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user