Skip to content

Migrate desktop packaging to electron-builder#24

Merged
Xun66 merged 5 commits into
mainfrom
electron-builder-migration
Jun 2, 2026
Merged

Migrate desktop packaging to electron-builder#24
Xun66 merged 5 commits into
mainfrom
electron-builder-migration

Conversation

@Xun66
Copy link
Copy Markdown
Contributor

@Xun66 Xun66 commented Jun 2, 2026

  • moved desktop packaging config into a dedicated electron/electron-builder.yml
  • removed the custom electron/scripts/dist-mac.cjs flow
  • added a thin electron/scripts/build-desktop.cjs wrapper that:
    • builds the renderer
    • builds the Go daemon for the target platform/arch
    • invokes electron-builder
  • added electron/scripts/set-desktop-version.cjs for CI version injection
  • added a dedicated GitHub Actions workflow for desktop release builds
  • switched mac notarization to the API key flow
  • added DMG background assets under electron/build/
  • reduced mac signing workload by:
    • trimming Electron locales to English + Chinese variants
    • disabling the extra strict verification pass

Xun66 added 5 commits June 2, 2026 17:37
Move desktop packaging to an electron-builder-first flow, keep only a thin Go daemon build wrapper, add a dedicated desktop release workflow, and replace the bespoke mac packaging path with builder-native DMG/signing configuration.
Trim mac Electron locales down to the English and Chinese variants we actually want to ship, and disable the extra strict verification pass during signing so notarized desktop builds spend less time in code-sign processing.
Drop the redundant custom ref input in favor of GitHub's built-in workflow source selection, require a v-prefixed source ref for publish=true, and ignore the local electron/cred credentials directory so signing material stays untracked.
Allow the desktop release workflow to trigger on pushes to electron-builder-migration for branch-level validation, while treating branch pushes as build-only runs and keeping actual publish behavior reserved for v-prefixed tag refs.
Drop the temporary push trigger for electron-builder-migration now that GitHub has registered the desktop workflow. Keep the workflow discoverable in Actions while limiting automatic runs back to v-prefixed tag pushes and manual dispatches.
@Xun66 Xun66 merged commit a18ca7c into main Jun 2, 2026
10 checks passed
@Xun66 Xun66 deleted the electron-builder-migration branch June 2, 2026 10:35
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