diff --git a/runelite-client/src/main/java/net/runelite/client/RuneLite.java b/runelite-client/src/main/java/net/runelite/client/RuneLite.java index 312913685b..bd15dc4acf 100644 --- a/runelite-client/src/main/java/net/runelite/client/RuneLite.java +++ b/runelite-client/src/main/java/net/runelite/client/RuneLite.java @@ -79,7 +79,7 @@ import org.slf4j.LoggerFactory; @Slf4j public class RuneLite { - public static final String PLUS_VERSION = "2.1.0.0"; + public static final String PLUS_VERSION = "2.1.1.0"; public static final File RUNELITE_DIR = new File(System.getProperty("user.home"), ".runelite"); public static final File PROFILES_DIR = new File(RUNELITE_DIR, "profiles"); public static final File PLUGIN_DIR = new File(RUNELITE_DIR, "plugins"); diff --git a/runelite-client/src/main/java/net/runelite/client/util/bootstrap/Bootstrap.java b/runelite-client/src/main/java/net/runelite/client/util/bootstrap/Bootstrap.java index 3f98ed0107..62fb948cfb 100644 --- a/runelite-client/src/main/java/net/runelite/client/util/bootstrap/Bootstrap.java +++ b/runelite-client/src/main/java/net/runelite/client/util/bootstrap/Bootstrap.java @@ -107,7 +107,7 @@ public class Bootstrap { try { - artifacts = new Artifact[47]; + artifacts = new Artifact[48]; //Static artifacts artifacts[0] = new Artifact(); @@ -330,7 +330,7 @@ public class Bootstrap artifacts[3] = new Artifact(); artifacts[3].name = "client-" + projectVersion + ".jar"; artifacts[3].hash = getChecksumFile("./runelite-client/build/libs/" + artifacts[3].name); - artifacts[3].path = "https://raw.githubusercontent.com/runelite-extended/maven-repo/master" + Bootstrapper.remoteLocation + artifacts[3].name; + artifacts[3].path = "https://raw.githubusercontent.com/runelite-extended/maven-repo/master/" + Bootstrapper.remoteLocation + artifacts[3].name; artifacts[3].size = Long.toString(getFileSize("./runelite-client/target/" + artifacts[3].name)); copyTodir("./runelite-client/build/libs/" + artifacts[3].name, Bootstrapper.localLocation); artifacts[35] = new Artifact(); @@ -351,7 +351,12 @@ public class Bootstrap artifacts[37].path = "https://raw.githubusercontent.com/runelite-extended/maven-repo/master/" + Bootstrapper.remoteLocation + artifacts[37].name; artifacts[37].size = Long.toString(getFileSize("./http-api/target/" + artifacts[37].name)); copyTodir("./http-api/build/libs/" + artifacts[37].name, Bootstrapper.localLocation); - copyTodir("./injected-client/build/libs/injected-client-" + projectVersion + ".jar", Bootstrapper.localLocation); + artifacts[47] = new Artifact(); + artifacts[47].name = "injected-client-" + projectVersion + ".jar"; + artifacts[47].hash = getChecksumFile("./injected-client/build/libs/" + artifacts[47].name); + artifacts[47].path = "https://raw.githubusercontent.com/runelite-extended/maven-repo/master/" + Bootstrapper.remoteLocation + artifacts[47].name; + artifacts[47].size = Long.toString(getFileSize("./http-api/target/" + artifacts[47].name)); + copyTodir("./injected-client/build/libs/" + artifacts[47].name, Bootstrapper.localLocation); } catch (IOException | NoSuchAlgorithmException e) { diff --git a/runelite-client/src/main/java/net/runelite/client/util/bootstrap/Bootstrapper.java b/runelite-client/src/main/java/net/runelite/client/util/bootstrap/Bootstrapper.java index 0911f44260..edce589251 100644 --- a/runelite-client/src/main/java/net/runelite/client/util/bootstrap/Bootstrapper.java +++ b/runelite-client/src/main/java/net/runelite/client/util/bootstrap/Bootstrapper.java @@ -16,7 +16,7 @@ public class Bootstrapper if (args.length > 0) { - remoteLocation = "/staging/"; + remoteLocation = "staging/"; localLocation = "./staging/"; Gson gson = new GsonBuilder().disableHtmlEscaping().setPrettyPrinting().create(); File dir = new File("./staging/");