Some pre/post related stuff

Reload the onesix version config after the commands (addresses https://www.pivotaltracker.com/story/show/60360652)
Add a few more variables and also substitute them in the command (fixes https://www.pivotaltracker.com/story/show/66994828)
This commit is contained in:
Jan Dalheimer 2014-03-09 08:18:50 +01:00
parent 737169d1d3
commit 44f21406e9
6 changed files with 149 additions and 73 deletions

View file

@ -413,6 +413,11 @@ bool OneSixInstance::providesVersionFile() const
return false;
}
bool OneSixInstance::reload()
{
return BaseInstance::reload() && reloadVersion();
}
QString OneSixInstance::loaderModsDir() const
{
return PathCombine(minecraftRoot(), "mods");