mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
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:
commit
800e99fda0
19 changed files with 283 additions and 18 deletions
|
@ -90,6 +90,12 @@ contextBridge.exposeInMainWorld("electron", {
|
|||
ipcRenderer.on("on-games-running", listener);
|
||||
return () => ipcRenderer.removeListener("on-games-running", listener);
|
||||
},
|
||||
onLibraryBatchComplete: (cb: () => void) => {
|
||||
const listener = (_event: Electron.IpcRendererEvent) => cb();
|
||||
ipcRenderer.on("on-library-batch-complete", listener);
|
||||
return () =>
|
||||
ipcRenderer.removeListener("on-library-batch-complete", listener);
|
||||
},
|
||||
|
||||
/* Hardware */
|
||||
getDiskFreeSpace: (path: string) =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue