classinternalSource
@API(status = INTERNAL)
public final class LegacyForgeInstaller

Installs Forge for 1.5.2 - 1.12.2 (installer v1). Those installers can't be run without their GUI, but all they do is extract the universal jar and write versionInfo as the version JSON, so we do that without it
Unlike the new installer, they don't download the libraries either, the old launcher did that

Fields

public static final String STRIP_META_KEY = "minified:stripMeta"
Set on the version JSON if the game jar has to be copied without its signature (1.5.2), see LegacyForgeGameJar

Methods

public static void install(Path installer, LaunchConfiguration config)
Parameters
installerPath
configLaunchConfiguration
public static boolean isLegacyInstaller(Path installer)
Parameters
installerPathThe downloaded installer jar
Returns
booleanTrue if the installer is a legacy (v1) installer