Clean this up!

Thanks @tewha :)
This commit is contained in:
Andreas Linde 2012-11-28 23:21:20 +01:00
parent dca243527d
commit 7cc267797d

View File

@ -98,14 +98,10 @@
_startManagerIsInvoked = NO; _startManagerIsInvoked = NO;
// check if we are really not in an app store environment // check if we are really not in an app store environment
if ([[NSBundle mainBundle] pathForResource:@"embedded" ofType:@"mobileprovision"]) { #if !TARGET_IPHONE_SIMULATOR
_appStoreEnvironment = NO; if (![[NSBundle mainBundle] pathForResource:@"embedded" ofType:@"mobileprovision"]) {
} else {
_appStoreEnvironment = YES; _appStoreEnvironment = YES;
} }
#if TARGET_IPHONE_SIMULATOR
_appStoreEnvironment = NO;
#endif #endif
[self performSelector:@selector(validateStartManagerIsInvoked) withObject:nil afterDelay:0.0f]; [self performSelector:@selector(validateStartManagerIsInvoked) withObject:nil afterDelay:0.0f];