aboutsummaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'main.js')
-rw-r--r--main.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/main.js b/main.js
index ea33294..1e86c1a 100644
--- a/main.js
+++ b/main.js
@@ -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', () => {