diff options
author | Bibiko <bibiko@eva.mpg.de> | 2011-01-05 12:58:02 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2011-01-05 12:58:02 +0000 |
commit | 7415fbd1d1bd93881899732590ceee55d8891aff (patch) | |
tree | 88a0f92eee033f45abf1f0cf62ac0c464dc29af8 /Source | |
parent | 1c085bf3a240935dae3d77c697717d5595ba9584 (diff) | |
download | sequelpro-7415fbd1d1bd93881899732590ceee55d8891aff.tar.gz sequelpro-7415fbd1d1bd93881899732590ceee55d8891aff.tar.bz2 sequelpro-7415fbd1d1bd93881899732590ceee55d8891aff.zip |
• further fix for updating default Bundles after SP update
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPAppController.m | 3 |
1 files changed, 3 insertions, 0 deletions
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]) { |