aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPStringAdditions.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-12-07 12:51:25 +0000
committerBibiko <bibiko@eva.mpg.de>2010-12-07 12:51:25 +0000
commit1cb77dab41589b8055ada2034c258dd3bb18a451 (patch)
tree7a9d29ec6c129eb9b92112ded8a706c4fb6e284f /Source/SPStringAdditions.m
parentd6560942643fd41f3aa3f378c595387a26d35bdc (diff)
downloadsequelpro-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.m1
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.