一、默认最大化
win = new BrowserWindow({show: false})
win.maximize()
win.show()
二、默认全屏
win = new BrowserWindow({fullscreen: true})
参考:
https://electronjs.org/docs/api/browser-window#browserwindow-setfullscreen-flag
https://github.com/electron/electron/issues/7076
https://stackoverflow.com/questions/39062131/electron-set-fullscre...