mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat(events): Add new event for getting magnet data
This commit is contained in:
parent
02c4f0a0e6
commit
a0344ea491
4 changed files with 13 additions and 0 deletions
|
@ -112,4 +112,5 @@ contextBridge.exposeInMainWorld("electron", {
|
|||
showOpenDialog: (options: Electron.OpenDialogOptions) =>
|
||||
ipcRenderer.invoke("showOpenDialog", options),
|
||||
platform: process.platform,
|
||||
getMagnetData: (magnet: string) => ipcRenderer.invoke("getMagnetData", magnet),
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue