aboutsummaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
authorKumar Priyansh <[email protected]>2019-06-11 16:06:58 +0530
committerKumar Priyansh <[email protected]>2019-06-11 16:06:58 +0530
commit81f6e04e2afe9505f9c97d1e3f25bd9347683d8c (patch)
tree4107db934da14c3784857afc68cd44a504505c79 /main.js
parentcf47ca0e1c9e31826ef5d8e6e86353bef0d43db9 (diff)
downloadauthorr-81f6e04e2afe9505f9c97d1e3f25bd9347683d8c.tar.xz
authorr-81f6e04e2afe9505f9c97d1e3f25bd9347683d8c.zip
Added Main Window Styles, Updated Main JS
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', () => {