Skip to content

Commit

Permalink
fix: command channel setup
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcStdt committed Jul 9, 2024
1 parent d006ff0 commit e5ca05b
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .docker/druid-install-command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
bash /app/resources/entrypoint.sh

#https://github.com/highcard-dev/druid-cli/releases/download/0.1.8-prerelease3/druid

0 comments on commit e5ca05b

Please sign in to comment.