use 6.0 branch for github import
This commit is contained in:
@@ -106,7 +106,7 @@ public class ModsDialog extends BaseDialog{
|
|||||||
Core.settings.put("lastmod", text);
|
Core.settings.put("lastmod", text);
|
||||||
|
|
||||||
ui.loadfrag.show();
|
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 -> {
|
Core.net.httpGet(loc.getHeader("Location"), result -> {
|
||||||
if(result.getStatus() != HttpStatus.OK){
|
if(result.getStatus() != HttpStatus.OK){
|
||||||
ui.showErrorMessage(Core.bundle.format("connectfail", result.getStatus()));
|
ui.showErrorMessage(Core.bundle.format("connectfail", result.getStatus()));
|
||||||
|
|||||||
Reference in New Issue
Block a user