mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-24 11:21:02 +00:00
fix: Replace getMagnetData with getMagnetHealth in references and implementations
This commit is contained in:
2
src/preload/index.d.ts
vendored
2
src/preload/index.d.ts
vendored
@@ -102,5 +102,5 @@ contextBridge.exposeInMainWorld("electron", {
|
||||
showOpenDialog: (options: Electron.OpenDialogOptions) =>
|
||||
ipcRenderer.invoke("showOpenDialog", options),
|
||||
platform: process.platform,
|
||||
getMagnetData: (magnet: string) => ipcRenderer.invoke("getMagnetData", magnet),
|
||||
getMagnetHealth: (magnet: string) => ipcRenderer.invoke("getMagnetHealth", magnet),
|
||||
});
|
||||
|
||||
@@ -112,5 +112,5 @@ contextBridge.exposeInMainWorld("electron", {
|
||||
showOpenDialog: (options: Electron.OpenDialogOptions) =>
|
||||
ipcRenderer.invoke("showOpenDialog", options),
|
||||
platform: process.platform,
|
||||
getMagnetData: (magnet: string) => ipcRenderer.invoke("getMagnetData", magnet),
|
||||
getMagnetHealth: (magnet: string) => ipcRenderer.invoke("getMagnetHealth", magnet),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user