The recommended URL has changed as per the documentation: https://itch.io/docs/butler/installing.html#the-automation-friendly-way Co-authored-by: Perjéssy Lóránt <lostlont@users.noreply.github.com>
14 lines
304 B
Bash
14 lines
304 B
Bash
#!/usr/bin/bash
|
|
|
|
mkdir -p /opt/butler/bin
|
|
cd /opt/butler/bin
|
|
|
|
wget -O butler.zip https://broth.itch.zone/butler/linux-amd64/LATEST/archive/default
|
|
unzip butler.zip
|
|
|
|
# GNU unzip tends to not set the executable bit even though it's set in the .zip
|
|
chmod +x butler
|
|
|
|
export PATH=/opt/butler/bin/:$PATH
|
|
cd ~
|