another tiny change to:
1. show user that they are update-to-date if no newer update exists
2. configure automatically checking for update, every day
Change-Id: I64369be14f313b9867f351d40d1bae02082cf698
diff --git a/osx/auto-update/sparkle-auto-update.mm b/osx/auto-update/sparkle-auto-update.mm
index 9429892..ef59657 100644
--- a/osx/auto-update/sparkle-auto-update.mm
+++ b/osx/auto-update/sparkle-auto-update.mm
@@ -34,7 +34,6 @@
{
d = new Private;
d->updater = [[SUUpdater sharedUpdater] retain];
- // [d->updater setAutomaticallyChecksForUpdates:YES];
NSURL *url = [NSURL URLWithString: [NSString stringWithUTF8String: updateUrl.toUtf8().data()]];
[d->updater setFeedURL: url];
}
@@ -48,6 +47,7 @@
void SparkleAutoUpdate::checkForUpdates()
{
- [d->updater checkForUpdatesInBackground];
+ //[d->updater checkForUpdatesInBackground];
+ [d->updater checkForUpdates : nil];
printf("++++++++ checking update ++++++\n");
}