1
0
mirror of https://github.com/SKCraft/Launcher.git synced 2024-11-28 12:57:07 +01:00

[Build Tools] Use local server for news and latest.json.

This commit is contained in:
sk89q 2015-07-20 15:42:01 -07:00
parent 46407b5f67
commit 53cac3f5e3

View File

@ -68,7 +68,9 @@ public class BuildTools {
wwwDir.mkdirs(); wwwDir.mkdirs();
launcher = new Launcher(launcherDir); 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("packageListUrl", "http://localhost:" + port + "/packages.json");
launcher.getProperties().setProperty("selfUpdateUrl", "http://localhost:" + port + "/latest.json");
} }
public String generateManifestName() { public String generateManifestName() {