(available: boolean, version?: string)
| 868 | |
| 869 | // Set update state and rebuild menu |
| 870 | const setUpdateAvailable = (available: boolean, version?: string) => { |
| 871 | updateAvailable = available |
| 872 | availableVersion = version || null |
| 873 | buildMenu() |
| 874 | } |
| 875 | |
| 876 | // Unlock devtools and rebuild menu (called from renderer via IPC) |
| 877 | const unlockDevTools = () => { |
no test coverage detected