Add auto update support

This commit is contained in:
Jonatan Heyman
2023-03-06 01:30:37 +01:00
parent 2c3eacbba0
commit 7ce91016d6
9 changed files with 356 additions and 2 deletions

View File

@ -1,3 +1,12 @@
export const WINDOW_CLOSE_EVENT = "window-close"
export const OPEN_SETTINGS_EVENT = "open-settings"
export const SETTINGS_CHANGE_EVENT = "settings-change"
export const UPDATE_AVAILABLE_EVENT = "update-available"
export const UPDATE_NOT_AVAILABLE_EVENT = "update-not-available"
export const UPDATE_DOWNLOADED = "update-downloaded"
export const UPDATE_ERROR = "update-error"
export const UPDATE_DOWNLOAD_PROGRESS = "update-download-progress"
export const UPDATE_START_DOWNLOAD = "auto-update:startDownload"
export const UPDATE_INSTALL_AND_RESTART = "auto-update:installAndRestart"