I'm using Sparkle with Go App.
sparkle.m :
#import <Headers/SUUpdater.h>
static SUUpdater* updater = nil;
void sparkle_checkUpdates()
{
if (!updater) {
updater = [[SUUpdater sharedUpdater] retain];
}
[updater setUpdateCheckInterval:3600];
[updater checkForUpdates:updater];
}
main.go :
func main() {
sparkle.Sparkle_checkUpdates()
// Some blocking call
}
I uploaded an appcast.xml file and Sparkle is working fine, the update is detected properly.
But after updating, on every startup of the app, an 'up to date' popup shows up :
I want this message to not show up. Popup should be shown only if an update is available.
For this I tried replacing
[updater checkForUpdates:updater];
with
[updater checkForUpdatesInBackground];
but now Sparkle doesn't work even if there's an update. No Popup shows up.
What am I missing here ?
Thanks for any help!

