mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-26 09:16:22 +02:00
expose replaceText in preload
This commit is contained in:
parent
6597649fd1
commit
f931b4cf9d
1 changed files with 1 additions and 0 deletions
|
|
@ -18,4 +18,5 @@ contextBridge.exposeInMainWorld('electronAPI', {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
getQuickAskText: () => ipcRenderer.invoke(IPC_CHANNELS.QUICK_ASK_TEXT),
|
getQuickAskText: () => ipcRenderer.invoke(IPC_CHANNELS.QUICK_ASK_TEXT),
|
||||||
|
replaceText: (text: string) => ipcRenderer.invoke(IPC_CHANNELS.REPLACE_TEXT, text),
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue