Skip to content

Commit 890c9e8

Browse files
author
Jessica Lord
committed
Merge pull request electron#197 from matjaz/patch-2
updated updateExe path
2 parents ac8b018 + ac2bb55 commit 890c9e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auto-updater.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ exports.removeShortcut = function (callback) {
7676
}
7777

7878
function spawnUpdate (args, callback) {
79-
var updateExe = path.resolve(process.execPath, '..', '..', 'Update.exe')
79+
var updateExe = path.resolve(path.dirname(process.execPath), '..', 'Update.exe')
8080
var stdout = ''
8181
var spawned = null
8282

0 commit comments

Comments
 (0)