summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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