Show monitor select dialog if there are more than 1 monitor?

#1

I have created an Electron app which is running full-screen kiosk-mode. Which means it is not movable between screens.
Is it possible to show a dialog when the application starts if the computer has more than 1 monitor connected? And at this time select which monitor you want to launch the application on?

Thank you!

#2

Yes you can, but you have to code it yourself.

There is a https://electronjs.org/docs/api/screen#screengetalldisplays to get you started.