Skip to content

feat(desktop): install updates on Windows - #129

Merged
MasRama merged 3 commits into
mainfrom
feat/desktop-update
Nov 1, 2026
Merged

MasRama merged 3 commits into
mainfrom
feat/desktop-update

Conversation

@MasRama

@MasRama MasRama commented Nov 1, 2026

Copy link
Copy Markdown
Owner

Part of Nokta for Windows (0.11).

  • nokta update on Windows downloads Nokta_<version>_x64-setup.exe, checks it against the release's SHA256SUMS, and starts it with /S /R, detached, before exiting. The setup closes Nokta, replaces it and nokta.exe, and starts it again.
  • Updates1.Install in the app runs bin\nokta.exe update --yes, the way noktad runs nokta update on Linux. The update shows as the activity update:nokta.
  • Home's update row gets the extension's Update button. Pressing it closes the notch; if the update can't start, a red "Cannot update Nokta" alert shows and the button comes back.

CI serves the setup it just built from a fake GitHub as release 99.0.0. It runs nokta update --check and then nokta update --yes, and checks that Nokta starts again with a new process and still answers nokta. The new shot is updated.

On Windows nokta update downloads Nokta_<version>_x64-setup.exe, checks
it against SHA256SUMS and starts it with /S /R, detached: the setup
closes Nokta, replaces it and nokta.exe, and starts it again.
@MasRama
MasRama force-pushed the feat/desktop-update branch from 9447fff to cee8d9b Compare November 1, 2026 05:27
The app runs bin\nokta.exe update --yes, as noktad does on Linux. CI
updates the installed app from a fake GitHub serving the build it made
and checks that Nokta starts again and answers.
As in the extension: the button starts the update and hides while it
installs; the notch closes for its activity, or for a red alert when it
cannot start.
@MasRama
MasRama force-pushed the feat/desktop-update branch from cee8d9b to 9015592 Compare November 1, 2026 05:39
@MasRama
MasRama merged commit 450bd36 into main Nov 1, 2026
13 checks passed
@MasRama
MasRama deleted the feat/desktop-update branch November 1, 2026 07:32
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