Skip to content

Wire up auto-updater #111

@reddpy

Description

@reddpy

Problem

No update mechanism. Once a build ships, there's no path to deliver fixes — users stay on whatever they installed.

Options

  • update-electron-app (simplest, uses GitHub releases + update.electronjs.org for Mac/Win)
  • electron-updater (more flexible, supports private servers, channels)

Recommend update-electron-app for v1.0 — drop-in, free hosting via update.electronjs.org, requires only a public GitHub release.

Required

  • Add update-electron-app to deps
  • Call updateElectronApp() early in src/index.ts
  • Forge @electron-forge/publisher-github configured with repo + token
  • CI workflow that runs electron-forge publish on tag push

Acceptance

  • A v1.0.1 release published to GitHub triggers an in-app update prompt on a v1.0.0 install within ~15 min

Metadata

Metadata

Assignees

No one assigned

    Labels

    distributionBuild, packaging, signing, updates

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions