Wait for current app to quit before launching new app

This commit is contained in:
Cheng Zhao 2016-06-14 14:31:41 +09:00
parent f4c10060af
commit 3f2c3e0448

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.