mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: remove splash and add new subheader to request user to restart and install update
This commit is contained in:
parent
21305d3e39
commit
cdd18a8ce2
14 changed files with 131 additions and 280 deletions
|
@ -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"),
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue