Skip to content

electron-builder publishes to GitHub but the app has no autoUpdater — users never receive updates #1

Description

@Kingvic300

Description

desktop/package.json configures electron-builder to publish release artifacts to GitHub (build.publish, line 34 onward), which is the mechanism electron-updater's autoUpdater expects to check against for new releases. However, there is no electron-updater dependency and no autoUpdater code anywhere in the desktop app's source — the only main-process file, desktop/src/index.js, never imports or calls autoUpdater.

The net effect: releases are built and published to GitHub, but a running desktop app has no mechanism to discover, download, or prompt the user to install a new version. Every user is permanently stuck on whatever version they originally installed unless they manually check GitHub and reinstall — including for security-relevant fixes (e.g. the CSP/navigation hardening issues filed alongside this one).

Verified

$ grep -rn "autoUpdater" desktop/
(no output)
$ grep -n "electron-updater" desktop/package.json
(no output)
$ grep -n "publish" desktop/package.json
    "publish": {

desktop/package.json's build.publish block configures the GitHub provider for electron-builder's packaging/release step, but nothing consumes it at runtime.

Suggested fix

Add the electron-updater package, and wire a minimal autoUpdater.checkForUpdatesAndNotify() call (guarded to only run in packaged/production builds, not npm start dev mode) into desktop/src/index.js's app.whenReady() handler, matching the GitHub publish provider already configured in package.json.

Timeframe

Claim window: 96 hours. If this issue is claimed/assigned, please submit a fix within 96 hours of assignment — after that window it may be released back up for grabs.

Community

Questions about this issue or the campaign? Join https://t.me/txioCommunity

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26Third CampaignCampaign: Third CampaignbugSomething isn't workingpriority:mediumNormal priority

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions