diff options
-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 |