Christmas Dash added.

This commit is contained in:
Storm Dragon
2025-12-22 17:57:52 -05:00
parent be86f1e916
commit 5f1fc591f9
2 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
check_architecture x86_64
get_installer "christmas_dash_linux.zip" "https://tunmi13.itch.io/christmas-dash"
unzip -d "${installPath}" "${cache}/christmas_dash_linux.zip"
if [[ -d "${installPath}/Christmas Dash/christmas_dash_linux" ]]; then
rm -rf "${installPath}/christmas_dash_linux"
mv -v "${installPath}/Christmas Dash/christmas_dash_linux" "${installPath}/christmas_dash_linux"
rmdir "${installPath}/Christmas Dash" 2> /dev/null || true
fi
chmod +x "${installPath}/christmas_dash_linux/game.bin"

View File

@@ -0,0 +1,12 @@
gameDir="${installPath}/christmas_dash_linux"
gameExecutable="${gameDir}/game.bin"
if [[ ! -d "$gameDir" ]]; then
ui_msgbox "Linux Game Manager" "Linux Game Manager" "Christmas Dash is not installed."
return 1
fi
if [[ ! -x "$gameExecutable" ]]; then
ui_msgbox "Linux Game Manager" "Linux Game Manager" "Unable to find ${gameExecutable}."
return 1
fi
pushd "${gameDir}"
"${gameExecutable}"