Ast

Results 7 comments of Ast

I just resolve this problem by handling squirrel event: --squirrel-firstrun, based on project [electron-squirrel-startup](https://github.com/mongodb-js/electron-squirrel-startup) You can check my code below. In my case I just quit immediately after create shortcut...

Use this code will resolve the problem. Before import this lib, set navigator to empty object. ``` global.navigator={}; global.window={}; ```