mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
New method to get executable paths.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12441 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f24a9196b0
commit
4c94e46acc
4 changed files with 393 additions and 218 deletions
|
@ -1243,7 +1243,7 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
|
|||
within the GNUstep directory structure specified by the environment
|
||||
variables. */
|
||||
|
||||
/* Return a bundle which accesses the first existing directory from the list
|
||||
/** Return a bundle which accesses the first existing directory from the list
|
||||
GNUSTEP_USER_ROOT/Libraries/Resources/libraryName/
|
||||
GNUSTEP_NETWORK_ROOT/Libraries/Resources/libraryName/
|
||||
GNUSTEP_LOCAL_ROOT/Libraries/Resources/libraryName/
|
||||
|
@ -1282,11 +1282,11 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
|
|||
return nil;
|
||||
}
|
||||
|
||||
/* Return a bundle which accesses the first existing directory from the list
|
||||
GNUSTEP_USER_ROOT/Tools/Resources/libraryName/
|
||||
GNUSTEP_NETWORK_ROOT/Tools/Resources/libraryName/
|
||||
GNUSTEP_LOCAL_ROOT/Tools/Resources/libraryName/
|
||||
GNUSTEP_SYSTEM_ROOT/Tools/Resources/libraryName/
|
||||
/** Return a bundle which accesses the first existing directory from the list
|
||||
GNUSTEP_USER_ROOT/Libraries/Resources/toolName/
|
||||
GNUSTEP_NETWORK_ROOT/Libraries/Resources/toolName/
|
||||
GNUSTEP_LOCAL_ROOT/Libraries/Resources/toolName/
|
||||
GNUSTEP_SYSTEM_ROOT/Libraries/Resources/toolName/
|
||||
*/
|
||||
+ (NSBundle *) bundleForTool: (NSString *)toolName
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue