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:
parent
46407b5f67
commit
53cac3f5e3
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user