mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-21 01:53:57 +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:
@@ -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) =>
|
||||
|
||||
Reference in New Issue
Block a user