empirically fix win32 shortcut in start menu

release-v0.9.4-electron
Matthew Hodgson 2016-12-24 18:13:33 +00:00
parent 4c256fba37
commit dbb8c478ae
1 changed files with 1 additions and 1 deletions

View File

@ -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);