Skip to content

fix(update): show real app version + correct release feed owner#59

Merged
th3-br41n merged 1 commit into
mainfrom
fix/app-version-display
Jun 30, 2026
Merged

fix(update): show real app version + correct release feed owner#59
th3-br41n merged 1 commit into
mainfrom
fix/app-version-display

Conversation

@th3-br41n

Copy link
Copy Markdown
Contributor

What

Two small fixes to the in-app update / version surface.

1. Settings → General showed version 0.0.1

The preload bridge hard-coded version: "0.0.1" instead of reading the real packaged version, so the General tab always displayed 0.0.1 regardless of the actual build (currently 0.1.6). This also misled users into thinking they were far behind and "stuck", when they were actually on the latest published release.

Fix: preload resolves the version synchronously from the main process via a new app:get-version sync IPC that returns app.getVersion().

2. Release-feed publish owner typo

electron-builder publish.owner was brainst0rm-os (with a zero) instead of the real org brainstorm-os. It currently only resolves via GitHub's org-rename redirect — fragile for the auto-update feed.

Fix: corrected to brainstorm-os.

Why the updater "didn't download"

With the version display fixed, the prior confusion is resolved: an app on the latest published release correctly finds nothing to download. (Note: a check only detects; the in-app download is a deliberate second step via the Download button once an update is Available.)

Test

  • tsc --noEmit clean on packages (verified on the identical change).
  • Manual: General tab now shows the real app.getVersion().

🤖 Generated with Claude Code

The preload bridge hard-coded `version: "0.0.1"`, so Settings → General
always displayed 0.0.1 regardless of the packaged build. Resolve the real
version synchronously from the main process (`app.getVersion()`) via a new
`app:get-version` sync IPC.

Also fix a typo in the electron-builder publish config: the GitHub owner
was `brainst0rm-os` (zero) instead of the real org `brainstorm-os`. It only
resolved via GitHub's rename redirect — fragile for the auto-update feed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@th3-br41n th3-br41n merged commit d4fc8fb into main Jun 30, 2026
2 of 3 checks passed
@th3-br41n th3-br41n deleted the fix/app-version-display branch June 30, 2026 22:05
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