Merge pull request #6037 from electron/auto-updater-wait

Use "--processStartAndWait" when launching Update.exe
This commit is contained in:
Cheng Zhao 2016-06-14 05:59:40 +00:00 committed by GitHub
commit b0f3443d72

View file

@ -78,7 +78,7 @@ var spawnUpdate = function (args, detached, callback) {
// Start an instance of the installed app.
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.