mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-16 08:05:34 -04:00
[Forge Installer 1.12+] revert
This commit is contained in:
parent
26d833fccc
commit
cd20231767
@ -39,7 +39,7 @@ public class NewForgeInstaller extends BaseInstaller {
|
|||||||
File libraryFile = new File(Tools.libraries, Tools.artifactToPath(libInfos[0], libInfos[1], libInfos[2]));
|
File libraryFile = new File(Tools.libraries, Tools.artifactToPath(libInfos[0], libInfos[1], libInfos[2]));
|
||||||
libraryFile.getParentFile().mkdirs();
|
libraryFile.getParentFile().mkdirs();
|
||||||
target = libraryFile.getAbsolutePath();
|
target = libraryFile.getAbsolutePath();
|
||||||
String downloadPath = "https://files.minecraftforge.net/maven/" + profile.path.replace(":", "/").replace(".","/") + "/forge-" + libInfos[2] + "-universal.jar";
|
String downloadPath = "https://files.minecraftforge.net/maven/" + profile.path.replace(":", "/") + "/forge-" + libInfos[2] + "-universal.jar";
|
||||||
ctx.appendlnToLog("Downloading " + target);
|
ctx.appendlnToLog("Downloading " + target);
|
||||||
Tools.downloadFile(downloadPath, target);
|
Tools.downloadFile(downloadPath, target);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user