IMAGINARY / kiosk-browser

Hardened Web Browser with Kiosk-mode
Apache License 2.0
21 stars 2 forks source link

Testapp shows no displays #47

Closed malex984 closed 4 years ago

malex984 commented 4 years ago

Running $ kiosk-browser -idf kiosk://testapp one can see the following error message due to require('electron').screen.getAllDisplays(); in function displaysText:

Uncaught TypeError: Cannot read property 'getAllDisplays' of undefined
    at displaysText (testapp.html:230)
    at testapp.html:339

Note: the result is absent displays. I recall the same behavior in several releases already and am not sure when this went broken.