feat: adding real debrid user auth

This commit is contained in:
Chubby Granny Chaser
2024-05-28 14:01:28 +01:00
parent 86816dc3c3
commit 183b85d66a
24 changed files with 234 additions and 137 deletions

View File

@@ -49,6 +49,8 @@ contextBridge.exposeInMainWorld("electron", {
updateUserPreferences: (preferences: UserPreferences) =>
ipcRenderer.invoke("updateUserPreferences", preferences),
autoLaunch: (enabled: boolean) => ipcRenderer.invoke("autoLaunch", enabled),
authenticateRealDebrid: (apiToken: string) =>
ipcRenderer.invoke("authenticateRealDebrid", apiToken),
/* Library */
addGameToLibrary: (