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
Description
desktop/package.jsonconfigureselectron-builderto publish release artifacts to GitHub (build.publish, line 34 onward), which is the mechanismelectron-updater'sautoUpdaterexpects to check against for new releases. However, there is noelectron-updaterdependency and noautoUpdatercode anywhere in the desktop app's source — the only main-process file,desktop/src/index.js, never imports or callsautoUpdater.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
desktop/package.json'sbuild.publishblock configures the GitHub provider forelectron-builder's packaging/release step, but nothing consumes it at runtime.Suggested fix
Add the
electron-updaterpackage, and wire a minimalautoUpdater.checkForUpdatesAndNotify()call (guarded to only run in packaged/production builds, notnpm startdev mode) intodesktop/src/index.js'sapp.whenReady()handler, matching the GitHub publish provider already configured inpackage.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