mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 14:07:01 +09:00
JS-2703: fix
This commit is contained in:
parent
6234d08ecf
commit
7ba2eedb1a
2 changed files with 3 additions and 1 deletions
|
@ -50,6 +50,8 @@ contextBridge.exposeInMainWorld('Electron', {
|
|||
return fp;
|
||||
},
|
||||
|
||||
dirname: fp => path.dirname(fp),
|
||||
|
||||
on: (event, callBack) => ipcRenderer.on(event, callBack),
|
||||
removeAllListeners: (event) => ipcRenderer.removeAllListeners(event),
|
||||
Api: (id, cmd, args) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue