Skip to content

Commit c0053dc

Browse files
committed
set fullscreen on start
1 parent 8c6d642 commit c0053dc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

main.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ function createWindow () {
1515
// Create the browser window.
1616
mainWindow = new BrowserWindow({width: 800, height: 600, backgroundColor: '#000000'})
1717

18+
mainWindow.setFullScreen(true)
19+
1820
// and load the index.html of the app.
1921
mainWindow.loadURL(url.format({
2022
pathname: path.join(__dirname, 'index.html'),

0 commit comments

Comments
 (0)