Repository navigation
Commit ff6eed3
committed
fix(desktop): updater quits keep their relaunched app
An update install sets the quit phase to "allowed" and skips shutdown, so
the unexpected-exit hook treated it as a crash: it logged a false error and
sent SIGTERM to the updated AppImage electron-updater had just spawned as a
child of main. The hook now ignores exits in the "allowed" phase.
AI-assisted; verified with the tests and tools listed above.1 parent 81d0583 commit ff6eed3
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
| 317 | + | |
| 318 | + | |
318 | 319 | | |
319 | 320 | | |
320 | 321 | | |
| |||
0 commit comments