Add auto-update support for macOS via GitHub Releases#206
Open
hanneshapke wants to merge 1 commit intomainfrom
Open
Add auto-update support for macOS via GitHub Releases#206hanneshapke wants to merge 1 commit intomainfrom
hanneshapke wants to merge 1 commit intomainfrom
Conversation
- Install electron-updater and configure publish target for dataiku/kiji-proxy - Add zip to macOS build targets (required by electron-updater for in-place updates) - Check for updates on launch and re-check every hour for long-running sessions - Prompt user to restart when a new version is downloaded - Skip update checks in development mode - Update CI workflow to upload .zip and latest-mac.yml alongside .dmg
Davidnet
approved these changes
Feb 17, 2026
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.
What
Adds automatic update functionality to the Electron app using
electron-updater.When a new version is published as a GitHub Release, running instances will
detect it, download the update in the background, and prompt the user to restart.
Changes
src/frontend/package.json: Addedelectron-updaterdependency,publishconfig pointing to
dataiku/kiji-proxy, andzipto macOS build targets(electron-updater uses the
.zipfor applying updates; the.dmgremains forfirst-time installs)
src/frontend/src/electron/electron-main.js: Auto-update lifecycle —checks for updates on launch, re-checks hourly, downloads in background,
prompts user to restart when ready. Skipped in dev mode.
.github/workflows/release-dmg.yml: Upload.zipandlatest-mac.ymlto GitHub Releases alongside the
.dmgHow it works
.dmg+.zip+latest-mac.ymllatest-mac.ymlvia GitHub Releases API on startup(and every hour)
.zipis downloaded in the backgroundquitAndInstall()swaps the app in placeNotes
CSC_LINK) is required for macOSauto-update to work. Unsigned builds will be blocked by Gatekeeper.