aboutsummaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
authorKumar Priyansh <[email protected]>2019-06-19 14:27:29 +0530
committerKumar Priyansh <[email protected]>2019-06-19 14:27:29 +0530
commit43ea2d744c1dc8f51faf785bf8d97c560014426a (patch)
tree7d27832d18842064af68797be7af33a9e1fa5954 /main.js
parentffaabdc04c5508ce8537d9031656ac1b388a6433 (diff)
downloadauthorr-43ea2d744c1dc8f51faf785bf8d97c560014426a.tar.xz
authorr-43ea2d744c1dc8f51faf785bf8d97c560014426a.zip
Added Template Selection Functionality
Diffstat (limited to 'main.js')
-rw-r--r--main.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.js b/main.js
index 40e1277..dada423 100644
--- a/main.js
+++ b/main.js
@@ -11,7 +11,10 @@ function createWindow () {
frame: false,
// transparent: true,
vibrancy: 'dark',
- titleBarStyle: 'hidden'
+ titleBarStyle: 'hidden',
+ webPreferences: {
+ nodeIntegration: true
+ }
})
// and load the index.html of the app.