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