|
@@ -82,8 +82,8 @@ exports.processStart = function () {
|
|
|
}
|
|
|
|
|
|
// Download the releases specified by the URL and write new results to stdout.
|
|
|
-exports.download = function (updateURL, callback) {
|
|
|
- return spawnUpdate(['--download', updateURL], false, function (error, stdout) {
|
|
|
+exports.checkForUpdate = function (updateURL, callback) {
|
|
|
+ return spawnUpdate(['--checkForUpdate', updateURL], false, function (error, stdout) {
|
|
|
var json, ref, ref1, update
|
|
|
if (error != null) {
|
|
|
return callback(error)
|