diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-12-07 12:51:25 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-12-07 12:51:25 +0000 |
commit | 1cb77dab41589b8055ada2034c258dd3bb18a451 (patch) | |
tree | 7a9d29ec6c129eb9b92112ded8a706c4fb6e284f /Source/SPStringAdditions.m | |
parent | d6560942643fd41f3aa3f378c595387a26d35bdc (diff) | |
download | sequelpro-1cb77dab41589b8055ada2034c258dd3bb18a451.tar.gz sequelpro-1cb77dab41589b8055ada2034c258dd3bb18a451.tar.bz2 sequelpro-1cb77dab41589b8055ada2034c258dd3bb18a451.zip |
• added SP_APP_RESOURCES_DIRECTORY as shell variable
Diffstat (limited to 'Source/SPStringAdditions.m')
-rw-r--r-- | Source/SPStringAdditions.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/SPStringAdditions.m b/Source/SPStringAdditions.m index edd92664..0aafffa4 100644 --- a/Source/SPStringAdditions.m +++ b/Source/SPStringAdditions.m @@ -519,6 +519,7 @@ [theEnv setDictionary:shellEnvironment]; [theEnv setObject:[[NSBundle mainBundle] pathForResource:@"appicon" ofType:@"icns"] forKey:@"SP_ICON_FILE"]; + [theEnv setObject:[NSString stringWithFormat:@"%@/Contents/Resources", [[NSBundle mainBundle] bundlePath]] forKey:@"SP_APP_RESOURCES_DIRECTORY"]; // Create and set an unique process ID for each SPDatabaseDocument which has to passed // for each sequelpro:// scheme command as user to be able to identify the url scheme command. |