From 7415fbd1d1bd93881899732590ceee55d8891aff Mon Sep 17 00:00:00 2001 From: Bibiko Date: Wed, 5 Jan 2011 12:58:02 +0000 Subject: =?UTF-8?q?=E2=80=A2=20further=20fix=20for=20updating=20default=20?= =?UTF-8?q?Bundles=20after=20SP=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPAppController.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/SPAppController.m b/Source/SPAppController.m index 1cc7eda9..ca8c3dcc 100644 --- a/Source/SPAppController.m +++ b/Source/SPAppController.m @@ -1366,6 +1366,9 @@ NSMutableString *infoAboutUpdatedDefaultBundles = [NSMutableString string]; BOOL doBundleUpdate = ([[NSUserDefaults standardUserDefaults] objectForKey:@"doBundleUpdate"]) ? YES : NO; + if(doBundleUpdate && !appSupportPath) + [bundlePaths insertObject:[[NSFileManager defaultManager] applicationSupportDirectoryForSubDirectory:SPBundleSupportFolder createIfNotExists:YES error:nil] atIndex:0]; + for(NSString* bundlePath in bundlePaths) { if([bundlePath length]) { -- cgit v1.2.3