From e5ca05bbe957970613d652d0b84d045686dfd134 Mon Sep 17 00:00:00 2001 From: Marc Date: Tue, 9 Jul 2024 23:05:05 +0200 Subject: [PATCH] fix: command channel setup --- .docker/druid-install-command.sh | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.docker/druid-install-command.sh b/.docker/druid-install-command.sh index 89ca82c..98d4797 100644 --- a/.docker/druid-install-command.sh +++ b/.docker/druid-install-command.sh @@ -2,18 +2,20 @@ #check if first argument is there, set CHANNEL to it, otherwise default to latest if [ -z "$1" ]; then - CHANNEL="latest" + CHANNEL="$CHANNEL/download" else - CHANNEL=$1 + CHANNEL=download/$1 fi -wget -O /app/resources/druid https://github.com/highcard-dev/druid-cli/releases/$CHANNEL/download/druid -wget -O /app/resources/druid_rcon https://github.com/highcard-dev/druid-cli/releases/$CHANNEL/download/druid_rcon -wget -O /app/resources/druid_rcon_web https://github.com/highcard-dev/druid-cli/releases/$CHANNEL/download/druid_rcon_web -wget -O /app/resources/entrypoint.sh https://github.com/highcard-dev/druid-cli/releases/$CHANNEL/download/entrypoint.sh +wget -O /app/resources/druid https://github.com/highcard-dev/druid-cli/releases/$CHANNEL/druid +wget -O /app/resources/druid_rcon https://github.com/highcard-dev/druid-cli/releases/$CHANNEL/druid_rcon +wget -O /app/resources/druid_rcon_web https://github.com/highcard-dev/druid-cli/releases/$CHANNEL/druid_rcon_web +wget -O /app/resources/entrypoint.sh https://github.com/highcard-dev/druid-cli/releases/$CHANNEL/entrypoint.sh chmod +x /app/resources/druid /app/resources/druid_rcon /app/resources/druid_rcon_web # Modify the PATH variable to prioritize /app/resources export PATH=/app/resources:$PATH -bash /app/resources/entrypoint.sh \ No newline at end of file +bash /app/resources/entrypoint.sh + +#https://github.com/highcard-dev/druid-cli/releases/download/0.1.8-prerelease3/druid \ No newline at end of file