1
0
Fork 0
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:
Andrew Simachev 2023-12-12 12:38:56 +01:00
parent 6234d08ecf
commit 7ba2eedb1a
No known key found for this signature in database
GPG key ID: 49A163D0D14E6FD8
2 changed files with 3 additions and 1 deletions

View file

@ -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) => {