mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
fix broken tool resource lookup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30212 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7ca7f7318a
commit
4707e0b7e4
2 changed files with 7 additions and 7 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-04-21 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSBundle.m: ([mainBundle]) Fix error determining whether
|
||||
the bundle is an app or not ... was breaking lookup of tool resources.
|
||||
|
||||
2010-04-19 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/cifframe.m (cifframe_type): Fix the cached information
|
||||
|
|
|
@ -1054,17 +1054,12 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
|
|||
&& [s hasSuffix: @".gswa"] == NO // GNUstep Web
|
||||
&& [s hasSuffix: @".woa"] == NO // GNUstep Web
|
||||
)
|
||||
{
|
||||
/* Well known file extension ... app wrapper format.
|
||||
*/
|
||||
isApplication = YES;
|
||||
}
|
||||
else
|
||||
{
|
||||
NSFileManager *mgr = manager();
|
||||
BOOL f;
|
||||
|
||||
/* Might be an app wrapper with another extension...
|
||||
/* Not one of the common extensions, but
|
||||
* might be an app wrapper with another extension...
|
||||
* Look for Info-gnustep.plist or Info.plist in a
|
||||
* Resources subdirectory.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue