SUUpdater now only gets created in release

This commit is contained in:
michael starke
2016-02-24 15:17:37 +01:00
parent 840559630c
commit dc57628c81
4 changed files with 28 additions and 16 deletions

View File

@@ -38,6 +38,8 @@
#import "KeePassKit/KeePassKit.h"
#import <Sparkle/Sparkle.h>
NSString *const MPDidChangeStoredKeyFilesSettings = @"com.hicknhack.macpass.MPDidChangeStoredKeyFilesSettings";
@interface MPAppDelegate () {
@@ -158,6 +160,10 @@ NSString *const MPDidChangeStoredKeyFilesSettings = @"com.hicknhack.macpass.MPDi
[MPAutotypeDaemon defaultDaemon];
/* Create Plugin Manager */
[MPPluginManager sharedManager];
#ifdef RELEASE
/* Only enabel updater in Release */
[SUUpdater sharedUpdater];
#endif
}
#pragma mark -