Shell 42: Packaging: Windows shortcuts and checks, desktop file #834

Closed
opened 2026-11-17 23:03:09 +00:00 by charles · 0 comments
Owner

Task 42 of the Desktop shell plan (docs/superpowers/plans/2026-11-17-desktop-shell.md, section "### Task 42:"). The plan on the shell branch is the source of truth; this copy is for reading.

Closes: #544, #614 (once Charles has run the check in Task 44; the PR says Refs, Task 44's PR says Closes) Depends on: 18. Touches xtask and packaging/.

Files:

  • Create: packaging/windows/check-install.ps1 · Modify: xtask/src/package/velopack.rs (--shortcuts Desktop,StartMenuRoot; the flag names checked against vpk pack -h of the pinned version), packaging/linux/flaxative.desktop (MimeType, Actions, kept identical in keys to what Task 18 writes: a test compares them), xtask/src/package.rs tests, docs/ release notes if any

Interfaces:

  • Produces: the installer's shortcuts on the Desktop and in the Start menu, both with Forked.Flaxative; check-install.ps1 prints, for an installed client: each shortcut's target and System.AppUserModel.ID, the uninstall entry, the Run value, the flaxative and fluxer scheme owners, the install folder — and exits non-zero when a shortcut's AUMID differs; the Windows release workflow runs it after its install smoke test where that exists.

  • Step 1: failing tests: vpk_args_have_both_shortcuts_and_aumid, packaged_desktop_file_matches_written_one.

  • Step 2–5: FAIL → implement → PASS → commit build: Windows shortcuts, install check, desktop file.

Task 42 of the Desktop shell plan (`docs/superpowers/plans/2026-11-17-desktop-shell.md`, section "### Task 42:"). The plan on the `shell` branch is the source of truth; this copy is for reading. **Closes:** #544, #614 (once Charles has run the check in Task 44; the PR says `Refs`, Task 44's PR says `Closes`) **Depends on:** 18. Touches `xtask` and `packaging/`. **Files:** - Create: `packaging/windows/check-install.ps1` · Modify: `xtask/src/package/velopack.rs` (`--shortcuts Desktop,StartMenuRoot`; the flag names checked against `vpk pack -h` of the pinned version), `packaging/linux/flaxative.desktop` (`MimeType`, `Actions`, kept identical in keys to what Task 18 writes: a test compares them), `xtask/src/package.rs` tests, `docs/` release notes if any **Interfaces:** - Produces: the installer's shortcuts on the Desktop and in the Start menu, both with `Forked.Flaxative`; `check-install.ps1` prints, for an installed client: each shortcut's target and `System.AppUserModel.ID`, the uninstall entry, the `Run` value, the `flaxative` and `fluxer` scheme owners, the install folder — and exits non-zero when a shortcut's AUMID differs; the Windows release workflow runs it after its install smoke test where that exists. - [ ] **Step 1: failing tests**: `vpk_args_have_both_shortcuts_and_aumid`, `packaged_desktop_file_matches_written_one`. - [ ] **Step 2–5:** FAIL → implement → PASS → commit `build: Windows shortcuts, install check, desktop file`.
charles added this to the Desktop shell milestone 2026-11-17 23:03:09 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#834
No description provided.