Merge branch 'rc/v2.0' into feature/user-profile

# Conflicts:
#	src/main/services/hydra-api.ts
#	src/renderer/src/app.tsx
This commit is contained in:
Zamitto
2024-06-19 21:02:16 -03:00
19 changed files with 278 additions and 17 deletions

View File

@@ -73,6 +73,7 @@ declare global {
getGameByObjectID: (objectID: string) => Promise<Game | null>;
onPlaytime: (cb: (gameId: number) => void) => () => Electron.IpcRenderer;
onGameClose: (cb: (gameId: number) => void) => () => Electron.IpcRenderer;
onLibraryBatchComplete: (cb: () => void) => () => Electron.IpcRenderer;
/* User preferences */
getUserPreferences: () => Promise<UserPreferences | null>;
@@ -112,7 +113,7 @@ declare global {
checkForUpdates: () => Promise<boolean>;
restartAndInstallUpdate: () => Promise<void>;
/* Authg */
/* Auth */
signOut: () => Promise<void>;
onSignIn: (cb: () => void) => () => Electron.IpcRenderer;
onSignOut: (cb: () => void) => () => Electron.IpcRenderer;