summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Robinson <joe@lc8n.com>2016-05-29 18:43:58 +0100
committerJoe Robinson <joe@lc8n.com>2016-05-29 18:43:58 +0100
commitee5aa3740d500aa2f190f19ae8539b001098e23c (patch)
treebaab2a600fbcb5306ce1549b370253633ef38fc5
parenteb4e80ef26060be4a47e83471bed1ab21ef19650 (diff)
Change electron imports for Windows compatibility
-rw-r--r--main.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/main.js b/main.js
index 1dcf991..de13265 100644
--- a/main.js
+++ b/main.js
@@ -1,8 +1,10 @@
'use strict';
-var app = require('app'),
-BrowserWindow = require('browser-window');
+const electron = require('electron')
+const app = electron.app
+
+const BrowserWindow = electron.BrowserWindow
// Keep a global reference of the window object, if you don't, the window will