Files
vectorcraft/packaging/windows
skylartaylor 6edf56a893 app(nightly): the isolated nightly-v1 flavor, its Windows and macOS packaging
Ports PhotoCraft's nightly flavor into VectorCraft, on top of Dylan Taylor's Linux
packaging (#9233), and credits him there.

Build side: VECTORCRAFT_BUILD_CHANNEL=nightly-v1 emits cfg(vectorcraft_nightly_v1);
build.rs embeds the exact feed identity (VECTORCRAFT_VERSION, or the
VECTORCRAFT_OVERRIDE_VERSION this repository's packaging already passes) as
VECTORCRAFT_BUILT_VERSION, with the nightly icon, ProductName "VectorCraft Nightly"
and ProductVersion for the Launcher's check.

Launch side: prepare_launch() is the first thing main does. It answers --version, -V
and the Launcher form (--launch-profile nightly-v1 --profile-root <abs> --version) with
"VectorCraft <version> (nightly-v1)" before root validation, logging, IPC or any
window; parses the strict selector/root protocol; refuses a nightly without a profile
and a stable build with one; sets the Windows AUMID and the window identity
(ai.storyteller.vectorcraft.nightly-v1); and installs the private data root.

Isolation: profile::install_data_root makes the validated profile the one folder every
data path follows - config.toml, logs, hang reports, the GPU start record, Data
Recovery, plug-ins, fonts, the user's libraries, script data, PDF presets, the
single-instance record - and the nightly alone gets eframe's persistence_path and the
framework's window.json inside it. profile_root fences the profile off every stable
folder, the installation, a portable copy and the shared env overrides on each OS.
The updater, the control channel and the automation roots stay off; a nightly session
record reports an unclean exit once and is finished on on_exit (the macOS Cmd+Q path);
a hand-off child inherits the profile.

Packaging: packaging/windows/nightly.ps1 with the -Nightly/-BuildOnly hook,
the stable refusal of a nightly executable, sign.ps1 -Required/-CheckOnly/
-CheckBuildEnvironment, and their PowerShell suites; packaging/macos/nightly.sh,
nightly-lib.sh, nightly-sign.sh, nightly-verify.sh and nightly_plist.py with their
tests; nightly art (deeper field, unchanged figure) from the committed tile;
nightly_paths.py and the archive tests for the Linux helper; a doc section; and
nightly-check.yml (synthetic + Windows suites) and nightly-macos.yml (full-ci).

Co-authored-by: dylanmtaylor <dylan@dylanmtaylor.com>
Co-authored-by: skylartaylor <skylartaylor@users.noreply.github.com>
2026-11-24 22:54:48 +01:00
..