Skip to content

Commit

Permalink
Updated require for electron app.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vj3k0 committed May 11, 2016
1 parent a46879a commit c7831ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -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');
Expand Down

1 comment on commit c7831ee

@jbleuzen
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working for me... 😄

Please sign in to comment.