mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-19 17:23:57 +00:00
feat: add ablity to pause and resume the seeding process
This commit is contained in:
@@ -26,6 +26,10 @@ contextBridge.exposeInMainWorld("electron", {
|
||||
ipcRenderer.invoke("pauseGameDownload", gameId),
|
||||
resumeGameDownload: (gameId: number) =>
|
||||
ipcRenderer.invoke("resumeGameDownload", gameId),
|
||||
pauseGameSeed: (gameId: number) =>
|
||||
ipcRenderer.invoke("pauseGameSeed", gameId),
|
||||
resumeGameSeed: (gameId: number) =>
|
||||
ipcRenderer.invoke("resumeGameSeed", gameId),
|
||||
onDownloadProgress: (cb: (value: DownloadProgress) => void) => {
|
||||
const listener = (
|
||||
_event: Electron.IpcRendererEvent,
|
||||
|
||||
Reference in New Issue
Block a user