Add button in settings menu to manually check for updates (#5607)

* Expose an electron handler for checking for updates

* Add "Check for updates" button to settings
This commit is contained in:
Frank Noirot
2025-03-04 12:41:35 -05:00
committed by GitHub
parent df278c7e6a
commit 8ba1a5cd4d
4 changed files with 27 additions and 7 deletions

View File

@ -430,6 +430,9 @@ app.on('ready', () => {
ipcMain.handle('app.restart', () => {
autoUpdater.quitAndInstall()
})
ipcMain.handle('app.checkForUpdates', () => {
return autoUpdater.checkForUpdates()
})
})
const getProjectPathAtStartup = async (