feat: remove splash and add new subheader to request user to restart and install update

This commit is contained in:
Zamitto 2024-05-26 21:49:32 -03:00
parent 21305d3e39
commit cdd18a8ce2
14 changed files with 131 additions and 280 deletions

View file

@ -114,7 +114,7 @@ contextBridge.exposeInMainWorld("electron", {
ipcRenderer.invoke("showOpenDialog", options),
platform: process.platform,
/* Splash */
/* Auto update */
onAutoUpdaterEvent: (cb: (value: AppUpdaterEvents) => void) => {
const listener = (
_event: Electron.IpcRendererEvent,
@ -129,5 +129,4 @@ contextBridge.exposeInMainWorld("electron", {
},
checkForUpdates: () => ipcRenderer.invoke("checkForUpdates"),
restartAndInstallUpdate: () => ipcRenderer.invoke("restartAndInstallUpdate"),
continueToMainWindow: () => ipcRenderer.invoke("continueToMainWindow"),
});