mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
small fixes
This commit is contained in:
parent
254b68f4d8
commit
030da0167a
4 changed files with 5 additions and 5 deletions
|
@ -8,6 +8,7 @@ const storage = require('electron-json-storage');
|
|||
const port = process.env.SERVER_PORT;
|
||||
const protocol = 'anytype';
|
||||
const remote = require('@electron/remote/main');
|
||||
const { installNativeMessagingHost } = require('./electron/js/lib/installNativeMessagingHost.js');
|
||||
|
||||
const userPath = app.getPath('userData');
|
||||
const logPath = path.join(userPath, 'logs');
|
||||
|
@ -131,6 +132,8 @@ function createWindow () {
|
|||
MenuManager.initMenu();
|
||||
MenuManager.initTray();
|
||||
|
||||
installNativeMessagingHost();
|
||||
|
||||
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