1
0
Fork 0
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:
Andrew Simachev 2025-04-16 17:45:16 +02:00
parent 0984b2f469
commit 861e84535a
No known key found for this signature in database
GPG key ID: 1DFE44B21443F0EF
2 changed files with 2 additions and 2 deletions

View file

@ -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);