GH-2087 remove the revert to vanilla functionality, add file download button to version page
This commit is contained in:
parent
ee341b78ba
commit
0636c03d7c
6 changed files with 30 additions and 81 deletions
|
@ -398,14 +398,8 @@ QStringList MinecraftInstance::processMinecraftArgs(AuthSessionPtr session) cons
|
|||
|
||||
// blatant self-promotion.
|
||||
token_mapping["profile_name"] = token_mapping["version_name"] = "MultiMC5";
|
||||
if(m_components->isVanilla())
|
||||
{
|
||||
token_mapping["version_type"] = profile->getMinecraftVersionType();
|
||||
}
|
||||
else
|
||||
{
|
||||
token_mapping["version_type"] = "custom";
|
||||
}
|
||||
|
||||
token_mapping["version_type"] = profile->getMinecraftVersionType();
|
||||
|
||||
QString absRootDir = QDir(minecraftRoot()).absolutePath();
|
||||
token_mapping["game_directory"] = absRootDir;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue