You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 20, 2022. It is now read-only.
echo "unsupported platform \`$PLATFORM\`, please try to build from source: https://github.com/SouthbankSoftware/proofable-image#build-your-own-binary"
exit 1
fi
echo -e "Installing from \`$DOWNLOAD_LINK\` to \`$INSTALL_PATH\`...\n"
if [[ $(command -v curl) ]]; then
DOWNLOAD_CMD="curl -L \"$DOWNLOAD_LINK\""
elif [[ $(command -v wget) ]]; then
DOWNLOAD_CMD="wget -O- \"$DOWNLOAD_LINK\""
else
echo "neither \`curl\` nor \`wget\` is installed, please download and install the binary manually: https://github.com/SouthbankSoftware/proofable-image/releases"
exit 1
fi
mkdir -p "$INSTALL_PATH"
eval "$DOWNLOAD_CMD" | tar -zxvC "$INSTALL_PATH" --no-same-owner $OPTS