mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-02 14:51:20 -05:00
20c9bebb47
Closes every finding in the batch-1 review of our two commits: - main.rs: the version log line passed a call as an inline format argument (a compile error); it is now a positional argument. Same for the joined-flag test in launch_profile.rs. - profile_root.rs: the accepted Windows + FLATPAK_ID case creates the root, so the "a refused launch creates nothing" assertion could not hold; it is now made per refused case, and the accepted case cleans up after itself. - The updater is off in a Nightly: the runtime keeps no Updater unless os_window::stable_services_allowed(), tick/pump/start_pending_update return early without one, and Help > Check for Updates says ArtCraft Launcher manages the Nightly's updates instead of offering a stable release (whose records live in the stable app's folders the profile fence refuses). New test. - AppInfo.id stays "vectorcraft" in both channels (it is the craft-settings id a theme's [apps.<id>] pins key on); only name and version vary. New test. - A caught panic no longer clears the session record: nightly_session::release() drops the lease and keeps the record. New test. - The Nightly window title and drawn title bar carry "VectorCraft Nightly". New test. - .gitignore gains __pycache__/ (the producer checks for a clean tree). - nightly-signing-tests.ps1 names the real HEAD and run date, so Assert-NightlySource passes and the mocked compiler boundary is what stops the run. - eframe's persistence_path is a folder of its own (<profile>/eframe), not craft's window.json file; the docs stop claiming an app.ron is written today. Standard Nightly layout: `<app>` is the launcher and `<app>-bin` the GUI it starts, in every Linux format, through one launcher (packaging/linux/nightly-launch.sh, replacing the per-format heredocs and nightly-arch-launch.sh): tar vectorcraft/vectorcraft-bin, deb+rpm /usr/bin/vectorcraft-nightly + /usr/lib/vectorcraft-nightly/vectorcraft-bin, AppImage AppRun + usr/bin/vectorcraft-bin, Arch bin/vectorcraft + bin/.vectorcraft-nightly/vectorcraft-bin, Flatpak /app/bin/vectorcraft + /app/libexec/vectorcraft-bin. It finds the GUI from its own directory, adds --launch-profile nightly-v1 --profile-root ... --, and passes a version/help query, the Launcher's own invocation or a caller-written -- through untouched. New suite packaging/linux/nightly-launch-tests.py drives all five placements; the archive policy, its tests, the arch test and the docs follow the layout. The nightly deb/rpm tree also stops shipping stable's /usr/bin/vectorcraft-cli beside the nightly CLI. The Nightly tar ships the Nightly art instead of stable's icon. Deviation recorded in RESULT.md: the refusal message still goes to standard error rather than a native dialog (workspace denies unsafe_code, winsafe is wgpu-only, a dialog crate would change Cargo.lock; a modal box also risks hanging a headless run).