Files
deckcraft/packaging/linux/nightly-launch.sh
T
skylartaylor 33a733b2dd Use the shared nightly launcher template
The plain nightly tar's launcher is now craft-common-actions's canonical template
(scripts/nightly-launcher.sh.in, PR #363) rendered for this app: `deckcraft` starts
`deckcraft-bin` beside it on the nightly-v1 profile under ai.storyteller.deckcraft.nightly,
and both --version and -V reach the GUI as one plain --version.

The AppImage, deb/rpm, distro tree, Arch handoff and Flatpak launchers move unchanged to
packaging/linux/nightly-package-launch.sh: they keep their own profile folder and the
/usr/bin -> /usr/lib rule.

The launcher suite pins the template's argv for the tar and keeps every distro placement.
2026-11-25 16:40:38 +01:00

15 lines
634 B
Bash
Executable File

#!/bin/sh
# Nightly launcher generated by craft-common-actions scripts/nightly-launcher.sh.in. Do not edit:
# the shared nightly producer accepts this file only byte for byte as rendered for the app.
set -eu
dir=$(CDPATH='' cd -- "$(dirname -- "$0")" && pwd -P)
readonly dir
target="$dir/deckcraft-bin"
readonly target
profile_root="${XDG_DATA_HOME:-$HOME/.local/share}/ai.storyteller.deckcraft.nightly"
readonly profile_root
case "${1-}" in
--version | -V) exec "$target" --launch-profile nightly-v1 --profile-root "$profile_root" --version ;;
esac
exec "$target" --launch-profile nightly-v1 --profile-root "$profile_root" -- "$@"