From acdbbd63b366f37d959e58f270a8fa883bbd71e4 Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 10 Oct 2016 18:53:11 +0200 Subject: [PATCH 1/3] Changed: Fix english comment --HG-- branch : develop --- code/nel/src/misc/path.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/src/misc/path.cpp b/code/nel/src/misc/path.cpp index 9737589f7..b9a49b04b 100644 --- a/code/nel/src/misc/path.cpp +++ b/code/nel/src/misc/path.cpp @@ -2148,7 +2148,7 @@ bool CFile::setFileModificationDate(const std::string &filename, uint32 modTime) FILETIME accessFileTime; FILETIME modFileTime; - // read the current the files times + // read the current file time if (GetFileTime(h, &creationFileTime, &accessFileTime, &modFileTime) == 0) { nlwarning("Can't set modification date on file '%s' : %s", fn.c_str(), formatErrorMessage(getLastError()).c_str()); From 9a402ea68c60d67b8488d4fdb2586ce2b6ea36b7 Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 10 Oct 2016 18:53:39 +0200 Subject: [PATCH 2/3] Fixed: Create directory before trying to create a client.cfg --HG-- branch : develop --- code/ryzom/tools/client/ryzom_installer/src/profile.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/ryzom/tools/client/ryzom_installer/src/profile.cpp b/code/ryzom/tools/client/ryzom_installer/src/profile.cpp index 45800a203..79aa74b25 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/profile.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/profile.cpp @@ -145,6 +145,9 @@ bool CProfile::createClientConfig() const QString directory = getDirectory(); QString filename = directory + "/client.cfg"; + // create directory + QDir().mkpath(directory); + const CServer &s = CConfigFile::getInstance()->getServer(server); // create the 2 initial lines of client.cfg From 73fd215b21447023cb124162f8304f2f67fef783 Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 10 Oct 2016 18:54:03 +0200 Subject: [PATCH 3/3] Fixed: Use exec instead of open to launch an executable under OS X --HG-- branch : develop --- code/ryzom/tools/client/ryzom_installer/src/utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ryzom/tools/client/ryzom_installer/src/utils.cpp b/code/ryzom/tools/client/ryzom_installer/src/utils.cpp index de967b4f8..8fadb4610 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/utils.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/utils.cpp @@ -329,8 +329,8 @@ bool createShortcut(const QString &shortcut, const QString &name, const QString QMap strings; // build command - QString command = QString("open \"%1\"").arg(executable); - if (!arguments.isEmpty()) command += " --args " + arguments; + QString command = QString("exec \"%1\"").arg(executable); + if (!arguments.isEmpty()) command += " " + arguments; strings.clear(); strings["COMMAND"] = command;