mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-24 01:11:01 +00:00
mainBundle works now with GSWeb (.gswa and .woa wrapper names)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13669 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
179c45422a
commit
be5c099357
1 changed files with 13 additions and 10 deletions
|
@ -619,17 +619,20 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
|
|||
non-yet-installed tool. */
|
||||
isApplication = NO;
|
||||
}
|
||||
|
||||
|
||||
if (isApplication == YES)
|
||||
{
|
||||
s = [path lastPathComponent];
|
||||
if (([s hasSuffix: @".app"] == NO)
|
||||
&& ([s hasSuffix: @".debug"] == NO)
|
||||
&& ([s hasSuffix: @".profile"] == NO))
|
||||
{
|
||||
isApplication = NO;
|
||||
}
|
||||
}
|
||||
{
|
||||
s = [path lastPathComponent];
|
||||
|
||||
if ((([s hasSuffix: @".app"] == NO)
|
||||
&& ([s hasSuffix: @".debug"] == NO)
|
||||
&& ([s hasSuffix: @".profile"] == NO))
|
||||
// GNUstep Web
|
||||
&& (([s hasSuffix: @".gswa"] == NO) && ([s hasSuffix: @".woa"] == NO)))
|
||||
{
|
||||
isApplication = NO;
|
||||
}
|
||||
}
|
||||
|
||||
if (isApplication == NO)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue