From ee5aa3740d500aa2f190f19ae8539b001098e23c Mon Sep 17 00:00:00 2001 From: Joe Robinson Date: Sun, 29 May 2016 18:43:58 +0100 Subject: Change electron imports for Windows compatibility --- main.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'main.js') 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 -- cgit v1.2.3