Electron work with displayswitch.exe


#1

Electron version:1.6.5
Operating system:win10 x64
Expected behavior

I opened two BrowserWindow in main process,I want the second BrowserWindow display to second monitor automatically,I can open extend monitor by DisplaySwitch.exe /extend,but how to send the second BrowserWindow to second monitor by code?