mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 12:16:40 +00:00
Add auto shutdown for gdnc and filesystem fixup for spelling dictionaries
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24787 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
88059b226b
commit
cbcf93e905
4 changed files with 42 additions and 5 deletions
|
@ -710,17 +710,29 @@ static NSDistributedNotificationCenter *netCenter = nil;
|
|||
if (_type == GSNetworkNotificationCenterType)
|
||||
{
|
||||
args = [NSArray arrayWithObjects:
|
||||
@"-GSNetwork", @"YES", nil];
|
||||
@"-GSNetwork", @"YES",
|
||||
@"--auto",
|
||||
nil];
|
||||
}
|
||||
else if (_type == GSPublicNotificationCenterType)
|
||||
{
|
||||
args = [NSArray arrayWithObjects:
|
||||
@"-GSPublic", @"YES", nil];
|
||||
@"-GSPublic", @"YES",
|
||||
@"--auto",
|
||||
nil];
|
||||
}
|
||||
else if ([host length] > 0)
|
||||
{
|
||||
args = [NSArray arrayWithObjects:
|
||||
@"-NSHost", host, nil];
|
||||
@"-NSHost", host,
|
||||
@"--auto",
|
||||
nil];
|
||||
}
|
||||
else
|
||||
{
|
||||
args = [NSArray arrayWithObjects:
|
||||
@"--auto",
|
||||
nil];
|
||||
}
|
||||
[NSTask launchedTaskWithLaunchPath: cmd arguments: args];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue