From 00742af3a6f6d25fbd3b3b77744e8f39a8c14c71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 26 Aug 2013 02:53:29 +0200 Subject: OS compatibility and generic cleanup. Removed bspatch/patchlib Now builds and runs on Windows --- logic/OneSixInstance.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'logic/OneSixInstance.cpp') diff --git a/logic/OneSixInstance.cpp b/logic/OneSixInstance.cpp index 61002320..44af6707 100644 --- a/logic/OneSixInstance.cpp +++ b/logic/OneSixInstance.cpp @@ -123,8 +123,11 @@ MinecraftProcess* OneSixInstance::prepareForLaunch ( QString user, QString sessi { QFileInfo fi(QString("libraries/") + lib->storagePath()); classPath.append(fi.absoluteFilePath()); - //FIXME: make separator tweakable +#ifdef Q_OS_WIN32 + classPath.append(';'); +#else classPath.append(':'); +#endif } QString targetstr = "versions/" + version->id + "/" + version->id + ".jar"; QFileInfo fi(targetstr); -- cgit v1.2.3