diff options
Diffstat (limited to 'main.js')
| -rw-r--r-- | main.js | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -5,7 +5,12 @@ let win function createWindow () { // Create the browser window. - win = new BrowserWindow({width: 800, height: 600}) + win = new BrowserWindow({ + width: 800, + height: 600, + frame: false, + transparent: true + }) // and load the index.html of the app. win.loadURL(url.format({ @@ -15,7 +20,7 @@ function createWindow () { })) // Open the DevTools. - // win.webContents.openDevTools() + win.webContents.openDevTools() // Emitted when the window is closed. win.on('closed', () => { |
