Apply a downloaded update and restart the app.
()
| 90 | }, |
| 91 | /** Apply a downloaded update and restart the app. */ |
| 92 | installUpdate(): Promise<void> { |
| 93 | return ipcRenderer.invoke(UPDATE_INSTALL_CHANNEL); |
| 94 | }, |
| 95 | /** |
| 96 | * Last-resort recovery for damaged executor state: after a native confirm, |
| 97 | * back up the data dir (move-aside, never delete), then restart the |