summaryrefslogtreecommitdiffstats
path: root/logic/DerpInstance.cpp
diff options
context:
space:
mode:
authorJan Dalheimer <jan@dalheimer.de>2014-01-22 14:06:58 +0100
committerJan Dalheimer <jan@dalheimer.de>2014-01-22 14:06:58 +0100
commitd166b4807223ec7cd0df6f26e05a2f364dc6121c (patch)
tree3bae4f2fc7b8f24923c57158fffb541568ece1a0 /logic/DerpInstance.cpp
parent13ac46bc185e861f9772f85adf757890dbb80a57 (diff)
parentc46c508fc6d168e6595e3624cfaa1fde0f495b90 (diff)
downloadMultiMC-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.cpp5
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";