Update fetch-twitchdownloader.sh

This commit is contained in:
Dedy Martadinata S
2023-05-20 11:35:12 +07:00
committed by GitHub
parent fe95f04c18
commit 2adbc0a02c

View File

@@ -1,4 +1,4 @@
!/bin/sh
!/bin/bash -eu
# THANK YOU TALULAH (https://github.com/nottalulah) for your help in figuring this out
# and also optimizing some code with this commit.
@@ -22,7 +22,7 @@ esac
echo "(INFO) Architecture detected: $ARCH"
echo "(1/5) READY - Install unzip"
apt-get update && apt-get -y install unzip curl jq libicu66
apt-get update && apt-get -y install unzip curl jq libicu70
VERSION=$(curl --silent "https://api.github.com/repos/lay295/TwitchDownloader/releases/latest" | jq -r .tag_name)
echo "(2/5) DOWNLOAD - Acquire twitchdownloader"
curl -o twitchdownloader.zip \