mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-12-01 10:45:31 +01:00
* 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
17 lines
774 B
Bash
Executable File
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" -- "$@"
|