Merge branch 'feature/user-profile' into feature/refator-process-watcher-and-game-running

# Conflicts:
#	src/main/services/hydra-api.ts
#	src/main/services/process-watcher.ts
#	src/renderer/src/declaration.d.ts
This commit is contained in:
Zamitto
2024-06-19 21:05:22 -03:00
19 changed files with 283 additions and 18 deletions

View File

@@ -74,6 +74,7 @@ declare global {
onGamesRunning: (
cb: (gamesId: number[]) => void
) => () => Electron.IpcRenderer;
onLibraryBatchComplete: (cb: () => void) => () => Electron.IpcRenderer;
/* User preferences */
getUserPreferences: () => Promise<UserPreferences | null>;
@@ -113,7 +114,7 @@ declare global {
checkForUpdates: () => Promise<boolean>;
restartAndInstallUpdate: () => Promise<void>;
/* Authg */
/* Auth */
signOut: () => Promise<void>;
onSignIn: (cb: () => void) => () => Electron.IpcRenderer;
onSignOut: (cb: () => void) => () => Electron.IpcRenderer;