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;
// check if we are really not in an app store environment
if ([[NSBundle mainBundle] pathForResource:@"embedded" ofType:@"mobileprovision"]) {
_appStoreEnvironment = NO;
} else {
#if !TARGET_IPHONE_SIMULATOR
if (![[NSBundle mainBundle] pathForResource:@"embedded" ofType:@"mobileprovision"]) {
_appStoreEnvironment = YES;
}
#if TARGET_IPHONE_SIMULATOR
_appStoreEnvironment = NO;
#endif
[self performSelector:@selector(validateStartManagerIsInvoked) withObject:nil afterDelay:0.0f];