diff --git a/Alcatraz/Alcatraz-Info.plist b/Alcatraz/Alcatraz-Info.plist index a6917f3..3789511 100644 --- a/Alcatraz/Alcatraz-Info.plist +++ b/Alcatraz/Alcatraz-Info.plist @@ -34,6 +34,8 @@ 992275C1-432A-4CF7-B659-D84ED6D42D3F A16FF353-8441-459E-A50C-B071F53F51B7 9F75337B-21B4-4ADC-B558-F9CADF7073A7 + 992275C1-432A-4CF7-B659-D84ED6D42D3F + E969541F-E6F9-4D25-8158-72DC3545A6C6 XC4Compatible diff --git a/Alcatraz/Alcatraz.m b/Alcatraz/Alcatraz.m index dda296a..1bf46c4 100644 --- a/Alcatraz/Alcatraz.m +++ b/Alcatraz/Alcatraz.m @@ -52,7 +52,10 @@ + (NSString *)localizedStringForKey:(NSString *)key { - (id)initWithBundle:(NSBundle *)plugin { if (self = [super init]) { self.bundle = plugin; - [self createMenuItem]; + [[NSOperationQueue mainQueue] addOperationWithBlock:^{ + + [self createMenuItem]; + }]; [self updateAlcatraz]; } return self; @@ -104,7 +107,6 @@ - (void)presentAlertWithMessageKey:(NSString *)messageKey { - (void)updateAlcatraz { NSOperationQueue *queue = [[NSOperationQueue alloc] init]; [queue addOperationWithBlock:^{ - [ATZAlcatrazPackage update]; }]; }