mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
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:
commit
4f32043966
19 changed files with 278 additions and 17 deletions
|
@ -96,6 +96,12 @@ contextBridge.exposeInMainWorld("electron", {
|
|||
ipcRenderer.on("on-game-close", listener);
|
||||
return () => ipcRenderer.removeListener("on-game-close", 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