diff options
author | Jan Dalheimer <jan@dalheimer.de> | 2014-01-22 14:06:58 +0100 |
---|---|---|
committer | Jan Dalheimer <jan@dalheimer.de> | 2014-01-22 14:06:58 +0100 |
commit | d166b4807223ec7cd0df6f26e05a2f364dc6121c (patch) | |
tree | 3bae4f2fc7b8f24923c57158fffb541568ece1a0 /logic/DerpInstance.cpp | |
parent | 13ac46bc185e861f9772f85adf757890dbb80a57 (diff) | |
parent | c46c508fc6d168e6595e3624cfaa1fde0f495b90 (diff) | |
download | MultiMC-d166b4807223ec7cd0df6f26e05a2f364dc6121c.tar MultiMC-d166b4807223ec7cd0df6f26e05a2f364dc6121c.tar.gz MultiMC-d166b4807223ec7cd0df6f26e05a2f364dc6121c.tar.lz MultiMC-d166b4807223ec7cd0df6f26e05a2f364dc6121c.tar.xz MultiMC-d166b4807223ec7cd0df6f26e05a2f364dc6121c.zip |
Merge branch 'develop' into feature_derpstances
Diffstat (limited to 'logic/DerpInstance.cpp')
-rw-r--r-- | logic/DerpInstance.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/logic/DerpInstance.cpp b/logic/DerpInstance.cpp index 440c90a4..672ba6c4 100644 --- a/logic/DerpInstance.cpp +++ b/logic/DerpInstance.cpp @@ -226,6 +226,11 @@ MinecraftProcess *DerpInstance::prepareForLaunch(MojangAccountPtr account) } QDir natives_dir(PathCombine(instanceRoot(), "natives/")); launchScript += "windowTitle " + windowTitle() + "\n"; + for(auto native: version->getActiveNativeLibs()) + { + QFileInfo finfo(PathCombine("libraries", native->storagePath())); + launchScript += "ext " + finfo.absoluteFilePath() + "\n"; + } launchScript += "natives " + natives_dir.absolutePath() + "\n"; launchScript += "launch onesix\n"; |