mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-25 03:52:00 +01:00
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>
14 lines
611 B
Bash
Executable File
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" -- "$@"
|