diff --git a/index.js b/index.js index baee0b5..46a76fc 100644 --- a/index.js +++ b/index.js @@ -1,7 +1,7 @@ var path = require('path'); var spawn = require('child_process').spawn; var debug = require('debug')('electron-squirrel-startup'); -var app = require('app'); +var app = require('electron').app; var run = function(args, done) { var updateExe = path.resolve(path.dirname(process.execPath), '..', 'Update.exe');