diff options
author | Joe Robinson <joe@lc8n.com> | 2016-05-29 18:43:58 +0100 |
---|---|---|
committer | Joe Robinson <joe@lc8n.com> | 2016-05-29 18:43:58 +0100 |
commit | ee5aa3740d500aa2f190f19ae8539b001098e23c (patch) | |
tree | baab2a600fbcb5306ce1549b370253633ef38fc5 | |
parent | eb4e80ef26060be4a47e83471bed1ab21ef19650 (diff) |
Change electron imports for Windows compatibility
-rw-r--r-- | main.js | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |