Skip to content

fix: disable downloads of Electron 44+ on 32-bit Windows and ARM Linux - #2039

Open
a5768549 wants to merge 2 commits into
electron:mainfrom
a5768549:fix/disable-ia32-armv7l-electron-44
Open

a5768549 wants to merge 2 commits into
electron:mainfrom
a5768549:fix/disable-ia32-armv7l-electron-44

Conversation

@a5768549

@a5768549 a5768549 commented Oct 22, 2026 •

Copy link
Copy Markdown

Fixes #2023.

Electron no longer publishes prebuilt binaries for 32-bit Windows (win32-ia32) or 32-bit ARM Linux (linux-armv7l) starting with v44 (breaking changes). Fiddle still offered those versions on ia32 and armv7l installs, so it tried to download artifacts that don't exist, e.g. electron-v44.5.1-win32-ia32.zip from the issue.

I checked the release assets to find the cutoff: electron-v44.0.0-alpha.3-win32-ia32.zip and electron-v44.0.0-alpha.3-linux-armv7l.zip exist, and neither the win32-ia32 nor the linux-armv7l zip exists for v44.0.0-alpha.4, v44.0.0-alpha.5, v44.0.0, v45.0.0-alpha.1 or the latest nightly (v46.0.0-nightly.20261021).

This adds that case to disableDownload(): on win32/ia32 and linux/arm, versions >=44.0.0-alpha.4 can't be downloaded. That reuses the existing handling for Apple Silicon and Windows arm64, so those versions show as disabled in the version picker and settings instead of failing to download. Local builds aren't affected.

Tests

  • Added two cases to tests/renderer/utils/disable-download.spec.ts covering the alpha.3/alpha.4 boundary, a stable 44 release and a nightly. They fail without the change and pass with it.
  • disable-download, version-select, settings-electron and remote-loader specs pass (64 tests); oxlint, Prettier and tsc --noEmit are clean.

@a5768549
a5768549 requested review from a team and codebytere as code owners October 22, 2026 02:52
Comment thread src/renderer/utils/disable-download.ts Outdated
@coveralls

coveralls commented Oct 22, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 87.363% (+0.02%) from 87.341% — a5768549:fix/disable-ia32-armv7l-electron-44 into electron:main

a5768549 and others added 2 commits October 22, 2026 15:59
Electron no longer publishes win32-ia32 or linux-armv7l binaries starting
with v44 (the last prerelease with them is 44.0.0-alpha.3). Fiddle still
offered those versions on ia32 and armv7l installs and tried to download
artifacts that don't exist.

Disable the download for 44.0.0-alpha.4 and above on those architectures,
the same way older versions are disabled on Apple Silicon and Windows arm64.

Fixes electron#2023

Co-Authored-By: Claude <noreply@anthropic.com>
Replace the chained platform/arch conditions in disableDownload with a
lookup from `${platform}-${arch}` to the rule for that combination, as
suggested in review. Behaviour is unchanged.

Co-Authored-By: Claude <noreply@anthropic.com>
@BlackHole1
BlackHole1 force-pushed the fix/disable-ia32-armv7l-electron-44 branch from 183278b to 05b0680 Compare October 22, 2026 07:59

This branch has not been deployed

No deployments
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.

win32-ia32 builds cannot download the newest Electron

3 participants