15 lines
736 B
Bash
15 lines
736 B
Bash
# shellcheck shell=bash disable=SC2154 # cache, WINEPREFIX, and game are set by audiogame-manager
|
|
gameVersion=2.4.1
|
|
download "https://dl.tweesecake.app/rage/rage${gameVersion}.zip"
|
|
export WINEARCH=win64
|
|
export winVer="win10"
|
|
install_wine_bottle
|
|
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/rage${gameVersion}.zip"
|
|
add_launcher "c:\Program Files\rage\rage.exe"
|
|
url="https://techcake.games/games/executioners-rage/"
|
|
message="Before you can login, you need to create an account at:\n${url}"
|
|
if echo "$url" | xclip -selection clipboard 2> /dev/null ; then
|
|
message+="\n\nThe URL has been copied to the clipboard."
|
|
fi
|
|
alert "Executioner's Rage" "Executioner's Rage" "$message"
|