From 53cac3f5e3ad33a57aa767cd88aaf6d3591c315e Mon Sep 17 00:00:00 2001 From: sk89q Date: Mon, 20 Jul 2015 15:42:01 -0700 Subject: [PATCH] [Build Tools] Use local server for news and latest.json. --- .../main/java/com/skcraft/launcher/buildtools/BuildTools.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build-tools/src/main/java/com/skcraft/launcher/buildtools/BuildTools.java b/build-tools/src/main/java/com/skcraft/launcher/buildtools/BuildTools.java index bbab6ee..8c6d316 100644 --- a/build-tools/src/main/java/com/skcraft/launcher/buildtools/BuildTools.java +++ b/build-tools/src/main/java/com/skcraft/launcher/buildtools/BuildTools.java @@ -68,7 +68,9 @@ public class BuildTools { wwwDir.mkdirs(); launcher = new Launcher(launcherDir); + launcher.getProperties().setProperty("newsUrl", "http://localhost:" + port + "/news.html"); launcher.getProperties().setProperty("packageListUrl", "http://localhost:" + port + "/packages.json"); + launcher.getProperties().setProperty("selfUpdateUrl", "http://localhost:" + port + "/latest.json"); } public String generateManifestName() {