Skip to content

Commit

Permalink
empirically fix win32 shortcut in start menu
Browse files Browse the repository at this point in the history
  • Loading branch information
ara4n committed Dec 24, 2016
1 parent f2afcc0 commit 79d1643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion electron/src/squirrelhooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const spawn = require('child_process').spawn;
const app = require('electron').app;

function run_update_exe(args, done) {
const updateExe = path.resolve(path.dirname(process.execPath), '..', 'Update.exe');
const updateExe = path.resolve(path.dirname(process.execPath), 'Update.exe');
spawn(updateExe, args, {
detached: true
}).on('close', done);
Expand Down

0 comments on commit 79d1643

Please sign in to comment.