mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-22 23:26:15 +00:00
Changed: Use exec command under OS X to relaunch client
--HG-- branch : develop
This commit is contained in:
parent
94a3626cd3
commit
0080dfc44e
1 changed files with 5 additions and 0 deletions
|
@ -948,7 +948,12 @@ void CPatchManager::createBatchFile(CProductDescriptionForClient &descFile, bool
|
|||
contentSuffix += "cd \"$STARTUPPATH\"\n\n";
|
||||
|
||||
// launch new client
|
||||
#ifdef NL_OS_MAC
|
||||
// use exec command under OS X
|
||||
contentSuffix += toString("exec \"$RYZOM_CLIENT\" %s $LOGIN $PASSWORD $SHARDID\n", additionalParams.c_str());
|
||||
#else
|
||||
contentSuffix += toString("\"$RYZOM_CLIENT\" %s $LOGIN $PASSWORD $SHARDID\n", additionalParams.c_str());
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue