mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
JS-3680: remove api handler to fix second handler attempt
This commit is contained in:
parent
4edf9bbd30
commit
ab477c7e19
1 changed files with 1 additions and 0 deletions
|
@ -125,6 +125,7 @@ function createWindow () {
|
|||
MenuManager.initMenu();
|
||||
MenuManager.initTray();
|
||||
|
||||
ipcMain.removeHandler('Api');
|
||||
ipcMain.handle('Api', (e, id, cmd, args) => {
|
||||
const Api = require('./electron/js/api.js');
|
||||
const win = BrowserWindow.fromId(id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue