Files
pdfcraft/packaging/linux/nightly-launch.sh
T
Dylan M. Taylor be459f88d3 feat(nightly): onboard PdfCraft to signed two-stage nightly releases (#8643)
* feat(nightly): onboard PdfCraft to signed two-stage nightly releases

* chore: update Cargo.lock for rfd dependency in pdfcraft app

* chore: retrigger CI checks

* fix(nightly): enable Linux package_formats (including Flatpak) in signing policy

* fix(nightly): fix unused import, attribute nightly icons, and wire -Nightly/-BuildOnly in package.ps1

* test(nightly): exclude packaging/** from coverage and add nightly bootstrap unit tests
2026-11-29 01:09:39 -05:00

17 lines
774 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/pdfcraft-bin"
readonly target
profile_root="${XDG_DATA_HOME:-$HOME/.local/share}/ai.storyteller.pdfcraft.nightly"
readonly profile_root
case "${1-}" in
# The ArtCraft Launcher passes its own profile and per-install root; the app validates the pair.
--launch-profile) exec "$target" "$@" ;;
--version | -V) exec "$target" --launch-profile nightly-v1 --profile-root "$profile_root" --version ;;
esac
exec "$target" --launch-profile nightly-v1 --profile-root "$profile_root" -- "$@"