use 6.0 branch for github import

This commit is contained in:
DeltaNedas 2020-08-19 06:00:50 +00:00 committed by GitHub
parent 7ebe84cc0e
commit 361eb6a7e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,7 +106,7 @@ public class ModsDialog extends BaseDialog{
Core.settings.put("lastmod", text);
ui.loadfrag.show();
Core.net.httpGet("http://api.github.com/repos/" + text + "/zipball/master", loc -> {
Core.net.httpGet("http://api.github.com/repos/" + text + "/zipball/6.0", loc -> {
Core.net.httpGet(loc.getHeader("Location"), result -> {
if(result.getStatus() != HttpStatus.OK){
ui.showErrorMessage(Core.bundle.format("connectfail", result.getStatus()));