From 1cb77dab41589b8055ada2034c258dd3bb18a451 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Tue, 7 Dec 2010 12:51:25 +0000 Subject: =?UTF-8?q?=E2=80=A2=20added=20SP=5FAPP=5FRESOURCES=5FDIRECTORY=20?= =?UTF-8?q?as=20shell=20variable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPStringAdditions.m | 1 + 1 file changed, 1 insertion(+) 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. -- cgit v1.2.3