mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-05 13:19:03 +00:00
parent
e8f8576f63
commit
a96ab5f3b0
@ -49,6 +49,7 @@ module.exports = (store, __exports) => {
|
|||||||
preload: path.resolve(`${helpers.__notion}/app/renderer/index.js`),
|
preload: path.resolve(`${helpers.__notion}/app/renderer/index.js`),
|
||||||
webviewTag: true,
|
webviewTag: true,
|
||||||
session: electron.session.fromPartition('persist:notion'),
|
session: electron.session.fromPartition('persist:notion'),
|
||||||
|
enableRemoteModule: true,
|
||||||
},
|
},
|
||||||
...rect,
|
...rect,
|
||||||
});
|
});
|
||||||
|
@ -139,6 +139,7 @@ module.exports = (store, __exports) => {
|
|||||||
preload: path.resolve(`${__dirname}/enhancerMenu.js`),
|
preload: path.resolve(`${__dirname}/enhancerMenu.js`),
|
||||||
nodeIntegration: true,
|
nodeIntegration: true,
|
||||||
session: electron.session.fromPartition('persist:notion'),
|
session: electron.session.fromPartition('persist:notion'),
|
||||||
|
enableRemoteModule: true,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
enhancer_menu.loadURL('enhancement://core/menu.html');
|
enhancer_menu.loadURL('enhancement://core/menu.html');
|
||||||
|
Loading…
Reference in New Issue
Block a user