FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(updater): harden in-app update (SHA UI, dirty restart, managed/zip) by ZhuchkaTriplesix · Pull Request #756 · QueryaHub/Querya-Desktop · GitHub

fix(updater): harden in-app update (SHA UI, dirty restart, managed/zip) - #756

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/755-updater-harden
Sep 19, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
devfrom
issue/755-updater-harden

Conversation

Copy link
Copy Markdown
Member

Summary

  • Surface SHA256 mismatch in the update dialog (no stuck spinner) and delete the bad temp file.
  • Confirm before exit(0) when SQL tabs or staged grid edits are dirty.
  • Snap/Flatpak: skip GitHub download, copy snap refresh / flatpak update. Linux zip must look like a Flutter bundle before rsync --delete.

Closes #755

Test plan

  • Help → Check for Updates: happy path still downloads, then Restart & Update Now
  • Button on Available is Download (not Download & Install)
  • Forced checksum mismatch shows integrity error and leaves no package in temp
  • Dirty SQL tab: Restart & Update Now → Cancel stays in the dialog; Restart anyway proceeds
  • Snap/Flatpak build: Copy update command, no download
  • Linux portable zip with a wrapped top-level folder still installs; garbage zip is refused

Checksum mismatches, snap/flatpak, and mismatched Linux zips could hang or
overwrite the running tree; warn on dirty SQL before exit(0).
github-actions Bot added bug Something isn't working error-handling Theme parser epic label: error-handling core Core library logic and services ui User interface components and widgets ux User experience, keyboard shortcuts and interactions labels Sep 19, 2026
ZhuchkaTriplesix merged commit 415f642 into dev Sep 19, 2026
2 of 3 checks passed
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

Labels

bug Something isn't working core Core library logic and services error-handling Theme parser epic label: error-handling ui User interface components and widgets ux User experience, keyboard shortcuts and interactions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL