Repository navigation
Pack, sign and publish with electron-builder 26 - #383
Merged
jtklein-agents merged 6 commits intoNov 25, 2026
Conversation
Pin electron-builder to ^26.18.1. The build block is unchanged. Local macOS comparison, same commit, 24.13.3 vs 26.18.1: - Artifact names: identical (universal dmg, universal-mac zip, blockmaps, latest-mac.yml); sizes within 2%. - latest-mac.yml: same fields as the v2.0.18 release asset (version, files[url,sha512,size], path, sha512, releaseDate). - static/bin and example files: same file list. - app.asar: out/ and package.json identical; node_modules is re-hoisted by 26's collector (same packages, nested copies moved to top level). Dropped entirely: ajv@6 with uri-js, punycode, fast-json-stable-stringify (no runtime dependent; conf keeps ajv@8). Added: @types/parse-json, @types/prop-types, @types/react-transition-group. - Resources: 26 adds LICENSE.electron.txt and LICENSES.chromium.html. - Ad-hoc signed 26 zip passes codesign --verify --deep --strict. - install-app-deps still runs from postinstall. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…der 26 26 moved getConfig to app-builder-lib/out/util/config/config. Its icon tool only reads PNG frames from an ICNS, and public/icon.icns holds JPEG2000 frames, so the Linux pack failed. public/icons/ holds the PNGs extracted from that icns (16-512), which 26 uses for Linux in place of converting the icns. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 tasks
…ime-packages-current' into 371-pack-sign-and-publish-with-electron-builder-26 # Conflicts: # yarn.lock
@sentry/electron 8 pulls in @sentry/bundler-plugins, whose oxc-parser installs one native binding per host arch. electron-builder 26 stops the universal macOS build on a .node file that is the same in the x64 and arm64 halves. Only Sentry's build-tool plugins load oxc-parser, so the app never needs the binding. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ime-packages-current' into 371-pack-sign-and-publish-with-electron-builder-26 # Conflicts: # yarn.lock
…ime-packages-current' into 371-pack-sign-and-publish-with-electron-builder-26 # Conflicts: # package.json # yarn.lock
jtklein-agents
merged commit Nov 25, 2026
5f3317e
into
spec/370-electron-build-and-runtime-packages-current
9 checks passed
jtklein-agents
deleted the
371-pack-sign-and-publish-with-electron-builder-26
branch
November 25, 2026 23:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #371
Summary
The
buildblock is unchanged.^26.18.1cannot resolve to 26.15.0–26.15.3.Evidence
Same commit, built locally on macOS with 24.13.3 and with 26.18.1 (
electron-builder --mac -c.mac.identity=- -p never).raxmlGUI-2.0.19-universal.dmg,-universal-mac.zip, both.blockmap,latest-mac.ymllatest-mac.ymlfieldsstatic/bin+ example filesapp.asarout/+package.jsoncodesign --verify --deep --strict(unzipped zip)postinstall-deps(install-app-deps)electron-builder version=26.18.1)Differences:
app.asarnode_modules: 26's module collector hoists differently: the same packages, with nested copies moved to the top level.ajv@6,uri-js,punycode,fast-json-stable-stringify. No runtime package depends on them;confstill getsajv@8.17.1andajv-formats@2.1.1.@types/parse-json,@types/prop-types,@types/react-transition-group(type-only).Contents/Resources: 26 addsLICENSE.electron.txtandLICENSES.chromium.html.Checks on macOS:
Ubuntu and Windows are left to CI. This base has no
yarn verifyscript.Merge Danger
Door: two-way
Reverting is one line plus the lockfile.
Blast Radius: releases
macos-15is the real test.APPLE_ID,APPLE_APP_SPECIFIC_PASSWORDandAPPLE_TEAM_IDare set. CI usesAPPLEID/APPLEIDPASS/APPLEIDTEAM, so onlyscripts/notarize.jsnotarizes. Renaming those secrets to Apple's standard names would make the app notarize twice.latest-mac.yml, whose shape is unchanged.🤖 Generated with Claude Code