#!/usr/bin/env bash # shellcheck disable=SC1091,SC2154 scriptDir="$(readlink -f "$0")" scriptDir="${scriptDir%/*}/.." source "${scriptDir}/.includes/dialog-interface.sh" source "${scriptDir}/.includes/functions.sh" export game="Arcadelux" cache="${XDG_CACHE_HOME:-$HOME/.cache}/audiogame-manager" mkdir -p "$cache" WINEPREFIX="$HOME/.local/wine64" gamePath="${WINEPREFIX}/drive_c/Program Files/${game}" if ! update_github_release_game "riadassoum/Arcadelux" "arcadelux" "$gamePath" "Arcadelux.exe" "savedata"; then alert "Arcadelux Update" "Arcadelux Update" "Could not update Arcadelux." exit 1 fi if [[ "$githubReleaseGameStatus" == "up-to-date" ]]; then agm_msgbox "Arcadelux Update" "Arcadelux Update" "Arcadelux is up to date." else agm_msgbox "Arcadelux Update" "Arcadelux Update" "Arcadelux has been updated." fi