The issue is that we are loading electron.screen before the app.on('ready') event, which does not make sense since the stack trace goes back to that exact event. To solve this, I just moved the initialization to when the app shows, which should happen a while after the ready event.
@unpeudetout can you take a look at this and see if this resolves the issue?
This is a possible fix for #280
The issue is that we are loading
electron.screen
before theapp.on('ready')
event, which does not make sense since the stack trace goes back to that exact event. To solve this, I just moved the initialization to when the app shows, which should happen a while after theready
event.@unpeudetout can you take a look at this and see if this resolves the issue?