Read the current auto-update status once (renderer mount).
()
| 75 | }, |
| 76 | /** Read the current auto-update status once (renderer mount). */ |
| 77 | getUpdateStatus(): Promise<DesktopUpdateStatus> { |
| 78 | return ipcRenderer.invoke(UPDATE_STATUS_GET_CHANNEL); |
| 79 | }, |
| 80 | /** |
| 81 | * Subscribe to auto-update status changes pushed by main (available → |
| 82 | * downloading → downloaded). Returns an unsubscribe function. |