suppress sparkle error about CFBundleIdentifier
sparkle seems to be checking the remote server
could do test tmr

Change-Id: Iebaca35f41e66964780124979637b17a67ddeb78
diff --git a/osx/auto-update/sparkle-auto-update.mm b/osx/auto-update/sparkle-auto-update.mm
index 5b35a76..9429892 100644
--- a/osx/auto-update/sparkle-auto-update.mm
+++ b/osx/auto-update/sparkle-auto-update.mm
@@ -22,6 +22,7 @@
 #include "sparkle-auto-update.h"
 #import <Foundation/Foundation.h>
 #import <Sparkle/Sparkle.h>
+#include <stdio.h>
 
 class SparkleAutoUpdate::Private
 {
@@ -32,14 +33,15 @@
 SparkleAutoUpdate::SparkleAutoUpdate(const QString &updateUrl)
 {
   d = new Private;
-  d->updater = [SUUpdater sharedUpdater];
-  [d->updater setAutomaticallyChecksForUpdates:YES];
+  d->updater = [[SUUpdater sharedUpdater] retain];
+  // [d->updater setAutomaticallyChecksForUpdates:YES];
   NSURL *url = [NSURL URLWithString: [NSString stringWithUTF8String: updateUrl.toUtf8().data()]];
   [d->updater setFeedURL: url];
 }
 
 SparkleAutoUpdate::~SparkleAutoUpdate()
 {
+  [d->updater release];
   delete d;
   // presummably SUUpdater handles garbage collection
 }
@@ -47,4 +49,5 @@
 void SparkleAutoUpdate::checkForUpdates()
 {
   [d->updater checkForUpdatesInBackground];
+  printf("++++++++ checking update ++++++\n");
 }