Files
texturecraft/packaging/linux/nightly-arch-launch.sh
T
Dylan M. Taylor 56efb48efb packaging(linux): support co-installable nightly packages (#801)
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:05:51 -06:00

15 lines
634 B
Bash
Executable File

#!/bin/sh
# The TextureCraft Nightly launcher for the Arch handoff (packaging/linux/nightly-arch-tar.sh):
# the real GUI stays in .texturecraft-nightly/, and this starts it with the Launcher's private
# profile, as every other Nightly package does.
set -eu
bin="$(dirname "$0")/.texturecraft-nightly/texturecraft"
profile="${XDG_DATA_HOME:-${HOME:-}/.local/share}/TextureCraft-Nightly"
# The Launcher's protocol, and a bare version query, pass through untouched.
case "${1-}" in
--launch-profile | --profile-root | --version | -V) exec "$bin" "$@" ;;
esac
exec "$bin" --launch-profile nightly-v1 --profile-root "$profile" -- "$@"