Files
pdfcraft/packaging/linux/nightly-arch-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

14 lines
682 B
Bash
Executable File

#!/bin/sh
# The Arch Nightly launcher: the GUI starts with this channel's own launch profile, so the AUR
# package never reads or writes stable's settings, window state or recovery files.
set -eu
real_bin="$(dirname "$0")/.pdfcraft-nightly/pdfcraft"
case "${1-}" in
# The Launcher already named the profile (its version query does too); never pass it twice. A
# plain version query answers without touching any profile.
--launch-profile | --profile-root | --version | -V) 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/pdfcraft-nightly" -- "$@"