mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
remove API handler revoke from main
This commit is contained in:
parent
0984b2f469
commit
861e84535a
2 changed files with 2 additions and 2 deletions
|
@ -159,7 +159,7 @@ function createWindow () {
|
|||
|
||||
installNativeMessagingHost();
|
||||
|
||||
ipcMain.removeHandler('Api');
|
||||
//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