Electrobun 2 drops Intel Mac builds that 1.18.1 shipped

Author: BastinRobinCreated Sep 24, 2026Updated Sep 24, 2026

CI cannot ship Intel Mac after Electrobun 2 / Hutch

Summary

v0.0.1-beta.48 built Apple Silicon, Intel Mac, Windows, and Linux from one config. 4bf072d moved the toolchain from Electrobun 1.18.1 to 2.0.1. Version 2 does not build the app. It downloads Hutch, and Hutch has no Darwin x86_64 host. Intel Mac installers stopped there. Later tag builds then failed on the platforms Hutch does support, because artifact names and the Windows tar step changed.

We have a large Intel Mac user base. Electrobun’s own 2.x docs say that host is not in the release matrix.

What worked

Tag v0.0.1-beta.48.

  • package.json dependency "electrobun": "1.18.1"
  • electrobun.config.ts did not list platforms. The 1.18.1 CLI built whatever machine ran electrobun build (Apple Silicon, Intel Mac, Windows, Linux).

What changed

4bf072d (2026-09-22, “Fix: Major bugs after trial hackathon”) moved Electrobun to devDependencies at 2.0.1 and added the v2 bridge:

typescript
mainProcess: "bun",
bun: { entrypoint: "src/bun/index.ts" },

Electrobun 2.0.1 is a bootstrap. The first command downloads paired Hutch 0.24.3. Hutch builds only the current host. build.targets was removed in 2.x, so an Apple Silicon runner cannot cross-compile an Intel disk image.

Checked again on Electrobun 2.0.2-beta.27 (Hutch 0.27.0-canary.8). The published hosts are still only:

  • darwin-arm64
  • linux-arm64
  • linux-x64
  • win32-x64

No darwin-x64.

Putting 1.18.1 back is not a one-line restore. That commit also changed electrobun.config.ts, added hutch.config.ts, and pointed the app at the Hutch devkit. The current source is a v2 project.

Docs

  • Migrate to Electrobun 2.x: Hutch builds for the current host. Delete v1 build.targets. First 2.x release can update existing 1.18.1 users only if artifacts/ is published without renaming the stable-* updater files.
  • Bundling and distribution: stable installers drop the channel prefix. Updater files keep stable-<os>-<arch>-. The host matrix is macOS ARM64, Windows x64, Linux x64, Linux ARM64. “Electrobun’s current release matrix does not publish a macOS x64 core artifact.”

Stable names for this app:

Runner Installer Updater
macOS ARM64 macos-arm64-App.dmg stable-macos-arm64-*
Windows x64 win-x64-App-Setup.zip stable-win-x64-*
Linux x64 linux-x64-App-Setup.tar.gz stable-linux-x64-*
macOS Intel none none

CI failures after the upgrade

  • macOS Intel (macos-15-intel): bunx electrobun sync exits with hutch installer: unsupported platform: Darwin x86_64.
  • macOS Apple Silicon (v0.0.1-beta.51): stager looked for stable-macos-arm64-* installers. Hutch wrote macos-arm64-App.dmg and left updater files on stable-macos-arm64-*. stage-release-artifacts.ts threw No installer for macos-arm64.
  • Windows (windows-2025): bunx electrobun build --env=stable fails while packing: tar: Cannot connect to D: resolve failed. The runner work directory is D:\a\…. Git Bash tar treats D: as a remote host. Hutch invokes tar by name.
  • Selfchecks on 2.x tags (v0.0.1-beta.49, v0.0.1-beta.50): importing the app menu or freemium plugin seeder loads electrobun/bun, which calls setExitOnLastWindowClosed. Runners have no libElectrobunCore / ElectrobunCore.dll, so the selfcheck aborts before any assertion.

Impact

Intel Mac users cannot get a new disk image or an in-app update built with Electrobun 2. Apple Silicon, Windows, and Linux builds are also red until the artifact names and Windows tar step match the 2.x bundling rules.

Ask

  1. Confirm whether Hutch will ship a Darwin x86_64 core, or a cross-compile from Apple Silicon. Until then Desk cannot ship Intel Mac on Electrobun 2 without downgrading the app back to the 1.18.1 toolchain.
  2. Desk CI should treat the documented names as the contract: unprefixed installers, stable-* updater files left unchanged, and Windows tar from C:\Windows\System32 so D: is a drive letter.