added option to start hydra on system startup

This commit is contained in:
Hachi-R 2024-05-05 18:13:28 -03:00
parent 5b9af9e0ea
commit 970a3be280
9 changed files with 34 additions and 27 deletions

View file

@ -57,6 +57,7 @@ contextBridge.exposeInMainWorld("electron", {
getUserPreferences: () => ipcRenderer.invoke("getUserPreferences"),
updateUserPreferences: (preferences: UserPreferences) =>
ipcRenderer.invoke("updateUserPreferences", preferences),
autoLaunch: (enabled: boolean) => ipcRenderer.invoke("autoLaunch", enabled),
/* Library */
addGameToLibrary: (