summaryrefslogtreecommitdiffstats
path: root/logic
diff options
context:
space:
mode:
Diffstat (limited to 'logic')
-rw-r--r--logic/DerpInstance.cpp5
-rw-r--r--logic/DerpUpdate.cpp7
2 files changed, 6 insertions, 6 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";
diff --git a/logic/DerpUpdate.cpp b/logic/DerpUpdate.cpp
index e1600d28..5686e4ac 100644
--- a/logic/DerpUpdate.cpp
+++ b/logic/DerpUpdate.cpp
@@ -349,11 +349,6 @@ void DerpUpdate::prepareForLaunch()
return;
}
/*
- * emitFailed("Could not create the native library folder:\n" + natives_dir_raw +
- "\nMake sure MultiMC has appropriate permissions and there is enough
- space "
- "on the storage device.");
- */
for (auto lib : version->getActiveNativeLibs())
{
if (!lib->filesExist())
@@ -372,6 +367,6 @@ void DerpUpdate::prepareForLaunch()
return;
}
}
-
+*/
emitSucceeded();
}