Re-disabled ~/.Oolite/AddOns/ in Windows, and added a comment about why. :-)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1028 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
bdc3cd9583
commit
f66bdbe40e
@ -98,9 +98,15 @@ static NSMutableDictionary *string_cache;
|
||||
NSString *app_addon_path = @"AddOns";
|
||||
NSString *appsupport_path = nil;
|
||||
#endif
|
||||
NSString *nix_path = [[NSHomeDirectory()
|
||||
stringByAppendingPathComponent:@".Oolite"]
|
||||
stringByAppendingPathComponent:@"AddOns"];
|
||||
NSString *nix_path = nil;
|
||||
#if !OOLITE_WINDOWS
|
||||
/* Enabling this path in Windows causes a log message, and it's not
|
||||
actually useful.
|
||||
*/
|
||||
nix_path = [[NSHomeDirectory()
|
||||
stringByAppendingPathComponent:@".Oolite"]
|
||||
stringByAppendingPathComponent:@"AddOns"];
|
||||
#endif
|
||||
|
||||
sRootPaths = [[NSArray alloc] initWithObjects:[self builtInPath], app_addon_path, nix_path, appsupport_path, nil];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user