Repository navigation
fix: use autoUpdater.quitAndInstall() on macOS to apply updates - #62
Merged
Merged
Conversation
The previous approach used app.relaunch() + app.quit() to avoid a crash dialog, but this created a race condition where the app relaunches the old version before electron-updater's installer replaces the .app bundle. Instead, use autoUpdater.quitAndInstall() on all platforms with proper cleanup beforehand (kill PTY processes, flush store, destroy windows) to ensure a clean exit without crash dialogs. Co-Authored-By: Claude Opus 4.6 <[email protected]>
nwparker
force-pushed
the
nwparker/fix-updates
branch
from
March 23, 2026 23:39
1c2f053 to
7ed735c
Compare
enrick-dev
pushed a commit
to enrick-dev/orca
that referenced
this pull request
Oct 15, 2026
…tes (stablyai#62) The previous approach used app.relaunch() + app.quit() to avoid a crash dialog, but this created a race condition where the app relaunches the old version before electron-updater's installer replaces the .app bundle. Instead, use autoUpdater.quitAndInstall() on all platforms with proper cleanup beforehand (kill PTY processes, flush store, destroy windows) to ensure a clean exit without crash dialogs. Co-authored-by: Claude Opus 4.6 <[email protected]>
cmungall
added a commit
to normalform-ai/orca
that referenced
this pull request
Nov 29, 2026
Replace the interim CLAUZ3_DOT_DECISION_TOKEN pty-env route with clauz3's host handoff (normalform-ai/clauz3#62). Main makes a private FIFO, opens its read end, and launches `clauz3 start claude --no-browser --approver-key-fd 3 ... 3>'<fifo>'`. clauz3 picks its own port, writes {origin, key, login_url} to fd 3 once ready and closes it before the agent starts; main reads the line, removes the FIFO, and only then registers the session. The key is never in env, argv, the pty or on disk, and an undelivered key registers nothing (fail closed). ORCA_CLAUZ3_COMMAND can point Orca at a clauz3 build with stablyai#62 until it merges. Normalform-Patch: fork-clauz3-approval-panel Co-Authored-By: Claude Opus 5.5 <[email protected]>
cmungall
added a commit
to normalform-ai/orca
that referenced
this pull request
Nov 30, 2026
…blyai#61, stablyai#62 and tools-agents #1/#2 merged Co-Authored-By: Claude Opus 5.5 <[email protected]>
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
autoUpdater.quitAndInstall()withapp.relaunch() + app.quit()on macOS to avoid a crash dialog, but this creates a race condition where the app relaunches before electron-updater's installer script replaces the.appbundleautoUpdater.quitAndInstall()on all platforms, with proper cleanup beforehand (kill PTY processes, flush persistence store, destroy all windows) to ensure a clean exit without crash dialogsTest plan
🤖 Generated with Claude Code