From 4797446f7c448b19dfb650fb02d32e5bb96b3450 Mon Sep 17 00:00:00 2001 From: Uli Kusterer Date: Fri, 11 Dec 2009 15:17:59 +0100 Subject: [PATCH] Be paranoid and wait for the mdimport to finish before we launch the app. Might make spurious "no executable" errors a bit less likely. --- SUInstaller.m | 1 + 1 file changed, 1 insertion(+) diff --git a/SUInstaller.m b/SUInstaller.m index 64c50318..a2037bf4 100644 --- a/SUInstaller.m +++ b/SUInstaller.m @@ -129,6 +129,7 @@ static NSString* sUpdateFolder = nil; @try { [mdimport launch]; + [mdimport waitUntilExit]; } @catch (NSException * launchException) {