Skip to content

Windows: add an Arm64 installer to releases (1.0.8) - #18

Merged
nstarke merged 1 commit into
mainfrom
feat/windows-arm64-1.0.8
Oct 25, 2026
Merged

nstarke merged 1 commit into
mainfrom
feat/windows-arm64-1.0.8

Conversation

@nick-alephvoid

Copy link
Copy Markdown
Contributor

Summary

  • Release artifact: the Windows build job is now a matrix of windows-latest (x64) and windows-11-arm (Arm64). Each freezes the app with its own native Python, gets signed and verified the same way, and uploads LLM-Usage-Widget-<ver>-windows-x64-setup.exe / -windows-arm64-setup.exe to the release.
  • build.ps1 takes the architecture from the Python running PyInstaller (sysconfig.get_platform()) and passes /DAppArch to Inno Setup. installer.iss names the output by architecture and sets ArchitecturesAllowed: the arm64 installer is limited to Arm64, and the x64 one also runs on Arm64 under emulation. Both share one AppId, so either one upgrades over the other.
  • The Arm runner image doesn't ship Inno Setup, so the workflow installs it with Chocolatey there.
  • tests.yml also runs the suite on windows-11-arm with Python 3.11–3.14. setup-python has no Arm64 builds before 3.11.
  • README updated. Version bumped to 1.0.8.

Heads-up: the x64 installer's filename changes from -windows-setup.exe to -windows-x64-setup.exe. The in-app update check links to the release page, not to a specific asset, so it isn't affected.

Test plan

  • Compiled installer.iss locally with AppArch=x64 and AppArch=arm64. Both produce the expected filenames.
  • Build installers workflow (run it manually on this branch): both Windows matrix legs build, sign and verify. The arm64 leg is the new one: setup-python Arm64, PyInstaller/Pillow wheels, Chocolatey Inno Setup, and the Trusted Signing action on Arm.
  • Tests pass on windows-11-arm.
  • Install the arm64 setup on an Arm64 PC and check the tray icon and taskbar text.

🤖 Generated with Claude Code

The Windows job now runs on windows-latest (x64) and windows-11-arm (Arm64), each
freezing the app with its own native Python, and the release gets both
LLM-Usage-Widget-<ver>-windows-x64-setup.exe and -windows-arm64-setup.exe.
build.ps1 takes the architecture from the Python running PyInstaller and passes it
to Inno Setup, which restricts the arm64 installer to Arm64 PCs (the x64 one still
installs there under emulation). Both share the AppId, so either upgrades the other.
Inno Setup is installed with Chocolatey on the Arm runner, which doesn't ship it.
The tests also run on windows-11-arm with Python 3.11 to 3.14.

Bump version to 1.0.8.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nstarke
nstarke merged commit 2a40b51 into main Oct 25, 2026
31 checks passed
@nstarke
nstarke deleted the feat/windows-arm64-1.0.8 branch October 25, 2026 21:47
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.

2 participants