aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r--Source/SPAppController.m3
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]) {