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 <noreply@anthropic.com>