e99686346c
```js console.log('READY STATE '+ electron.app.isReady()); electron.app.once("loaded", async ()=>{console.log("loaded");}); electron.app.whenReady().then(async ()=>{console.log("whenReady");}); ``` Results in the following when the app is already ready. ``` READY STATE true whenReady [... loaded will be logged] ``` This will not fix the race condition when opening the devtools. You want to open the devtools as **early** as possible for the tabs to show up. |
||
---|---|---|
.. | ||
modules | ||
index.js | ||
preload.js |