Merge pull request #6037 from electron/auto-updater-wait
Use "--processStartAndWait" when launching Update.exe
This commit is contained in:
commit
b0f3443d72
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ var spawnUpdate = function (args, detached, callback) {
|
||||||
|
|
||||||
// Start an instance of the installed app.
|
// Start an instance of the installed app.
|
||||||
exports.processStart = function () {
|
exports.processStart = function () {
|
||||||
return spawnUpdate(['--processStart', exeName], true, function () {})
|
return spawnUpdate(['--processStartAndWait', exeName], true, function () {})
|
||||||
}
|
}
|
||||||
|
|
||||||
// Download the releases specified by the URL and write new results to stdout.
|
// Download the releases specified by the URL and write new results to stdout.
|
||||||
|
|
Loading…
Reference in a new issue