Added Bag of Bones. Really neat game.
This commit is contained in:
1 parent
8244a883b7
commit
d759d2fcab
1 file changed
+22
@@ -0,0 +1,22 @@
|
||||
# shellcheck shell=bash disable=SC2154 # cache and WINEPREFIX are shared AGM installer state.
|
||||
get_installer "bag_of_bones.zip" "https://sound-storm-entertainment.itch.io/bag-of-bones" || exit 1
|
||||
export WINEARCH=win64
|
||||
export winVer="win10"
|
||||
install_wine_bottle || exit 1
|
||||
|
||||
# Preserve extraction failures through the progress wrapper's pipeline.
|
||||
if ! (
|
||||
set -o pipefail
|
||||
install_with_progress unzip "Extracting Bag of Bones..." \
|
||||
-d "${WINEPREFIX}/drive_c/Program Files/Bag of Bones" "${cache}/bag_of_bones.zip"
|
||||
); then
|
||||
alert "Bag of Bones" "Extraction failed. No launcher was added."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ ! -s "${WINEPREFIX}/drive_c/Program Files/Bag of Bones/bag_of_bones.exe" ]]; then
|
||||
alert "Bag of Bones" "The game executable was not installed. No launcher was added."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
add_launcher 'c:\Program Files\Bag of Bones\bag_of_bones.exe'
|
||||
Reference in new issue
Block a user