Skip to content

Added fix for updater#400

Merged
shobhit99 merged 1 commit into
mainfrom
updater-fix
May 16, 2026
Merged

Added fix for updater#400
shobhit99 merged 1 commit into
mainfrom
updater-fix

Conversation

@shobhit99
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a30199801b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/renderer/src/App.tsx
Comment on lines +2836 to +2839
if (commandId === 'system-update-and-reopen') {
await window.electron.appUpdaterQuitAndInstall();
try { await window.electron.hideWindow(); } catch {}
return true;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Propagate updater restart failure to launcher command flow

This new local handler always returns success for system-update-and-reopen and ignores the boolean returned by appUpdaterQuitAndInstall(). Since restartAndInstallAppUpdate() can now fail (timeout/error) and return false, launcher-triggered updates will still be treated as successful and the window is hidden without surfacing failure, which regresses user feedback and retry behavior for failed installs.

Useful? React with 👍 / 👎.

@shobhit99 shobhit99 merged commit f7ca882 into main May 16, 2026
3 checks passed
@shobhit99 shobhit99 deleted the updater-fix branch May 16, 2026 00:13
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