Skip to content

fix(release): wire .ico for Windows MSI + drop Intel macOS runner#4

Merged
hujiulin merged 1 commit into
mainfrom
fix/windows-msi-icon
Jun 7, 2026
Merged

fix(release): wire .ico for Windows MSI + drop Intel macOS runner#4
hujiulin merged 1 commit into
mainfrom
fix/windows-msi-icon

Conversation

@hujiulin

@hujiulin hujiulin commented Jun 7, 2026

Copy link
Copy Markdown
Owner

Summary

Two issues blocked the last release attempt — fixing both so the next v* tag can finish cleanly.

1. Windows MSI: Couldn't find a .ico icon

tauri.conf.json only listed icons/icon.png in bundle.icon, but the MSI bundler scans that array for a .ico file and bails out when it doesn't find one. Expand the array to cover every platform's expected format:

"icon": [
  "icons/32x32.png",
  "icons/128x128.png",
  "icons/128x128@2x.png",
  "icons/icon.icns",
  "icons/icon.ico"
]

Each bundler picks what it needs (Linux → PNGs, macOS → .icns, Windows → .ico).

2. Drop the Intel macOS runner

The macos-13 runner pool is heavily backlogged — jobs stall in "Waiting for a runner to pick up this job…" for 10+ minutes. Intel Macs are a vanishing share of users in 2026 (Apple completed the ARM transition in late 2020). Cut the matrix to Apple Silicon + Windows so releases finish in ~10 min instead of stalling on Intel.

(This was originally on the now-deleted feat/auto-update branch but didn't carry through to chore/embed-updater-pubkey when the new branch was cherry-picked. Re-applying here.)

Test plan

  • Merge this PR
  • Push a v0.1.0 tag
  • Verify the Release workflow:
    • macOS Apple Silicon job finishes without queue delay
    • Windows job emits a .msi without the "Couldn't find a .ico icon" error
    • latest.json shows up in the Release artifacts (sign secrets already set in PR chore(updater): embed signing public key #3)

Two issues from the last release attempt:

1. Windows MSI bundler failed with "Couldn't find a .ico icon" because
   bundle.icon in tauri.conf.json only listed icon.png. Add the full
   per-platform icon list (32×32 / 128×128 / 128@2x for Linux, .icns
   for macOS, .ico for Windows) so each bundler picks the format it
   needs.

2. The macos-13 runner pool is heavily backlogged (Intel jobs stall
   for 10+ min in "Waiting for a runner"), and Intel Macs are a vanishing
   share of users in 2026. Cut the matrix to Apple Silicon + Windows so
   releases finish in ~10 min.

Co-Authored-By: Claude Opus 4 (1M context) <noreply@anthropic.com>
@hujiulin
hujiulin merged commit 04efdfb into main Jun 7, 2026
1 check 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