Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Window dimension changes

  • Loading branch information
EuanRiggans committed Nov 17, 2019
1 parent a7922b5 commit 965fa12aac168d658c8e14af557e76e1fcd1b2e2
Showing with 4 additions and 3 deletions.
  1. +4 −3 main.js
@@ -10,17 +10,18 @@ let win
function createWindow() {
// Create the browser window.
win = new BrowserWindow({
width: 1280,
height: 720,
width: 1000,
height: 620,
webPreferences: {
nodeIntegration: true
},
icon: './app/icon/128.png'
})
win.autoHideMenuBar = true;
win.loadFile('./app/popup.html')

// Open the DevTools. Automated test to make sure this is closed(?)
win.webContents.openDevTools()
// win.webContents.openDevTools()

// Emitted when the window is closed.
win.on('closed', () => {

0 comments on commit 965fa12

Please sign in to comment.
You can’t perform that action at this time.