Files
effectcraft/packaging/linux/nightly-launch.sh
T
Dylan M. Taylor 59aed45057 packaging(linux): support co-installable nightly packages (#4154)
Linux nightly packaging by @dylanmtaylor, with the per-app Nightly flavor commits stacked on his branch.

Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-24 19:38:19 -06:00

14 lines
611 B
Bash
Executable File

#!/bin/sh
# The launcher inside EffectCraft Nightly's flat tar: an unpacked copy is isolated like the
# packages, so it never falls back to the stable settings folder. The GUI itself is `effectcraft-bin`;
# `effectcraft` is the name people run, and the version query still answers from it.
set -eu
here="$(dirname "$0")"
real_bin="$here/effectcraft-bin"
case "${1:-}" in
--version|-V|--launch-profile) exec "$real_bin" "$@" ;;
esac
profile_base="${XDG_DATA_HOME:-${HOME:?HOME is required}/.local/share}"
exec "$real_bin" --launch-profile nightly-v1 --profile-root "$profile_base/effectcraft-nightly" -- "$@"