1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-30 08:57:00 +02:00
vcmi/client/Autoupdate.mm
2017-07-06 09:09:30 +03:00

12 lines
232 B
Plaintext

#ifdef SPARKLE
#import <Cocoa/Cocoa.h>
#import "Sparkle.h"
#endif
void OSX_checkForUpdates() {
#ifdef SPARKLE
SUUpdater* updater = [[SUUpdater alloc] init];
[[SUUpdater sharedUpdater] checkForUpdatesInBackground];
#endif
}