From c7831ee5897987a120ec8caf04eca5f677048927 Mon Sep 17 00:00:00 2001 From: Vjekoslav Ratkajec Date: Wed, 11 May 2016 12:01:25 +0200 Subject: [PATCH] Updated require for electron app. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');