mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
remove window.require, preload.js progress
This commit is contained in:
parent
4ee6a8ca05
commit
07c981c1ac
23 changed files with 72 additions and 99 deletions
|
@ -89,8 +89,10 @@ nativeTheme.on('updated', () => {
|
|||
|
||||
function createWindow () {
|
||||
ipcMain.handle('Api', (e, cmd, args) => {
|
||||
console.log(arguments);
|
||||
return 'Api return';
|
||||
args = args || [];
|
||||
args.unshift(e.sender);
|
||||
|
||||
Api[cmd].apply(Api, args);
|
||||
});
|
||||
|
||||
mainWindow = WindowManager.createMain({ route: Util.getRouteFromUrl(deeplinkingUrl), isChild: false });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue