bootstrap: remove injected as it's no longer a runtime dep.

This commit is contained in:
Zeruth
2019-07-20 19:28:55 -04:00
parent 89fbe93a5d
commit a05455f6a5
2 changed files with 18 additions and 29 deletions

View File

@@ -106,7 +106,7 @@ public class Bootstrap
{
try
{
artifacts = new Artifact[46];
artifacts = new Artifact[45];
//Static artifacts
artifacts[0] = new Artifact();
@@ -299,21 +299,21 @@ public class Bootstrap
artifacts[41].name = "discord-1.1.jar";
artifacts[41].path = "https://repo.runelite.net/net/runelite/discord/1.1/discord-1.1.jar";
artifacts[41].size = "617294";
artifacts[42] = new Artifact();
artifacts[42].hash = "21b5cac673a156cd8d6cf9efe15ff267b6353eeb129678aa4b39542683ba0dc2";
artifacts[42].name = "rxjava-2.2.10.jar";
artifacts[42].path = "https://raw.githubusercontent.com/runelite-extended/maven-repo/master/artifacts/" + artifacts[42].name;
artifacts[42].size = "2348810";
artifacts[43] = new Artifact();
artifacts[43].hash = "21b5cac673a156cd8d6cf9efe15ff267b6353eeb129678aa4b39542683ba0dc2";
artifacts[43].name = "rxjava-2.2.10.jar";
artifacts[43].hash = "830a08b9d5c20ab8e2033c16fc6ee067e6ffcd0c730f303d648aadfa81210d62";
artifacts[43].name = "rxrelay-2.1.0.jar";
artifacts[43].path = "https://raw.githubusercontent.com/runelite-extended/maven-repo/master/artifacts/" + artifacts[43].name;
artifacts[43].size = "2348810";
artifacts[43].size = "27750";
artifacts[44] = new Artifact();
artifacts[44].hash = "830a08b9d5c20ab8e2033c16fc6ee067e6ffcd0c730f303d648aadfa81210d62";
artifacts[44].name = "rxrelay-2.1.0.jar";
artifacts[44].hash = "cc09ab0b140e0d0496c2165d4b32ce24f4d6446c0a26c5dc77b06bdf99ee8fae";
artifacts[44].name = "reactive-streams-1.0.2.jar";
artifacts[44].path = "https://raw.githubusercontent.com/runelite-extended/maven-repo/master/artifacts/" + artifacts[44].name;
artifacts[44].size = "27750";
artifacts[45] = new Artifact();
artifacts[45].hash = "cc09ab0b140e0d0496c2165d4b32ce24f4d6446c0a26c5dc77b06bdf99ee8fae";
artifacts[45].name = "reactive-streams-1.0.2.jar";
artifacts[45].path = "https://raw.githubusercontent.com/runelite-extended/maven-repo/master/artifacts/" + artifacts[45].name;
artifacts[45].size = "27750";
//Dynamic artifacts
artifacts[3] = new Artifact();
@@ -340,12 +340,7 @@ public class Bootstrap
artifacts[37].path = "https://raw.githubusercontent.com/runelite-extended/maven-repo/master/live/" + artifacts[37].name;
artifacts[37].size = Long.toString(getFileSize("./http-api/target/" + artifacts[37].name));
copyTodir("./http-api/target/" + artifacts[37].name, "./live/");
artifacts[42] = new Artifact();
artifacts[42].name = "injected-client-" + RuneLiteAPI.getVersion() + ".jar";
artifacts[42].hash = getChecksumFile("./injected-client/target/" + artifacts[42].name);
artifacts[42].path = "https://raw.githubusercontent.com/runelite-extended/maven-repo/master/live/" + artifacts[42].name;
artifacts[42].size = Long.toString(getFileSize("./injected-client/target/" + artifacts[42].name));
copyTodir("./injected-client/target/" + artifacts[42].name, "./live/");
copyTodir("./injected-client/target/injected-client-" + RuneLiteAPI.getVersion() + ".jar", "./live/");
}
catch (IOException | NoSuchAlgorithmException e)
{