fix(updates): unblock restart to apply update on macOS#3984
Merged
Conversation
louis030195
pushed a commit
that referenced
this pull request
Jun 10, 2026
regenerated specta bindings — restart_for_update was added to updates.rs in #3984 but lib/utils/tauri.ts was not regenerated, breaking typecheck and tauri build: components/update-banner.tsx(139,36): error TS2339: Property 'restartForUpdate' does not exist on type ... ran: bun run bindings:generate
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.
Description:
Fixes #3973
app relaunches into a stuck "Screenpipe is still starting" screen.
relaunch()firesExitRequested, whichmain.rsblocks viaprevent_exit()unlessQUIT_REQUESTED=true.Banner click never set the flag, so the exit was silently cancelled. Linux had the same bug; Windows didn't (NSIS installer calls
process::exitdirectly).Fix
restart_for_updateTauri command mirrors the auto-update path: gate →stop_screenpipe()→QUIT_REQUESTED=true→app.restart()off-thread.update-banner.tsxroutes macOS/Linux through the new command. Windows path unchanged.