Skip to content

feat(installer): ship the Rust app in the installer and fold in dark settings - #10

Merged
squidllee merged 10 commits into
mainfrom
t3/rust-installer
Nov 2, 2026
Merged

squidllee merged 10 commits into
mainfrom
t3/rust-installer

Conversation

@squidllee

Copy link
Copy Markdown
Collaborator

Problem

The installer still packages the C# WPF app, so the Rust port never reaches people who install Hyperkey.

Solution

  • The installer builds hyperkey-app and stages it as Hyperkey.App.exe, the name the C# app used. It keeps the same AppId and install directory, so running the new setup over a C# install upgrades it in place.
  • The dark settings window from the dark-settings branch is folded in.
  • The version is 0.1.2 in both the installer and the Rust app, so the settings window shows the version it ships with.
  • The CI installer job checks a clean install and the upgrade from the last C# release.
  • A doc sentence now says where the launch-at-login value comes from during the verify run.

Verification

  • Run locally from rust/: clippy with warnings denied, the core and app tests, and the release build. All pass.
  • Not run locally: the installer packaging and verify scripts, which need explicit permission. The CI installer job has not run on this branch yet.

Stacking

This PR is stacked on #9. CI runs only on pull requests into main, so no checks will run here until #8 and #9 merge and this PR is retargeted.

🤖 Generated with Claude Code

squidllee and others added 9 commits November 1, 2026 18:35
Port the WPF prototype's dark layout to the iced settings window: a decorative left column (keycap illustration, modifier labels, sparkle motif, wordmark) and a right column of sections separated by hairline dividers. Toggles become 26px rounded checkboxes and the trigger rebind control takes the combo-box look while keeping press-to-capture behavior. The status block ports the C# status text and description logic, and new unit tests cover the pure label and hint helpers.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
In dark system mode the theme uses the prototype palette (canvas #1B1C20, accent #4C8DF6); light mode keeps iced's light palette with the deeper accent #3B74D8. The settings window opens at 940x640 with a minimum of 820x540, matching the prototype.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
@squidllee
squidllee changed the base branch from t3/rust-app-wave2 to main November 1, 2026 23:35
@squidllee
squidllee force-pushed the t3/rust-installer branch 3 times, most recently from 8232b6f to 1b67b18 Compare November 1, 2026 23:56
…ndow

- InstallDelete wipes the old multi-file payload before copying so upgrades

  leave no dead files and uninstall removes {app} cleanly

- Ship installer/favicon.ico in {app} and point the shortcut, uninstaller,

  and setup icons at it since the Rust exe has no embedded resource

- Diagnostics buttons move to their own row and the status column fills

  the remaining width so nothing clips at 760x540

- Seed JSON and post-upgrade asserts cover the baseline-only CI path

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@squidllee
squidllee merged commit 5884b11 into main Nov 2, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant