update update_link.php
This commit is contained in:
@@ -115,7 +115,7 @@ public final class UpdateChecker {
|
|||||||
public void execute() {
|
public void execute() {
|
||||||
if (download_link == null)
|
if (download_link == null)
|
||||||
try {
|
try {
|
||||||
download_link = Constants.GSON.<Map<String, String>>fromJson(NetworkUtils.doGet(NetworkUtils.toURL("http://huangyuhui.duapp.com/update_link.php?type=hmcl")), Map.class);
|
download_link = Constants.GSON.<Map<String, String>>fromJson(NetworkUtils.doGet(NetworkUtils.toURL("http://huangyuhui.duapp.com/hmcl/update_link.php")), Map.class);
|
||||||
} catch (JsonSyntaxException | IOException e) {
|
} catch (JsonSyntaxException | IOException e) {
|
||||||
Logging.LOG.log(Level.SEVERE, "Failed to get update link.", e);
|
Logging.LOG.log(Level.SEVERE, "Failed to get update link.", e);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user