mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Added NSBundle executableURL and builtInPlugInsURL
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36959 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
43acfe40ac
commit
a544d2a680
3 changed files with 22 additions and 1 deletions
|
@ -2737,6 +2737,11 @@ IF_NO_GC(
|
|||
return object;
|
||||
}
|
||||
|
||||
- (NSURL *) executableURL
|
||||
{
|
||||
return [NSURL fileURLWithPath: [self executablePath]];
|
||||
}
|
||||
|
||||
- (NSString *) resourcePath
|
||||
{
|
||||
NSString *version = _frameworkVersion;
|
||||
|
@ -2811,6 +2816,11 @@ IF_NO_GC(
|
|||
}
|
||||
}
|
||||
|
||||
- (NSURL *) builtInPlugInsURL
|
||||
{
|
||||
return [NSURL fileURLWithPath: [self builtInPlugInsPath]];
|
||||
}
|
||||
|
||||
- (NSString*) bundleIdentifier
|
||||
{
|
||||
return [[self infoDictionary] objectForKey: @"CFBundleIdentifier"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue