Beispiel #1
0
std::shared_ptr<Task> LegacyInstance::doUpdate(bool only_prepare)
{
	// make sure the jar mods list is initialized by asking for it.
	auto list = jarModList();
	// create an update task
	return std::shared_ptr<Task>(new LegacyUpdate(this, only_prepare, this));
}
Task *LegacyInstance::doUpdate(bool prepare_for_launch)
{
	// make sure the jar mods list is initialized by asking for it.
	auto list = jarModList();
	// create an update task
	return new LegacyUpdate(this, prepare_for_launch , this);
}