diff options
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java b/src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java index b129e644..38270c77 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java @@ -253,6 +253,12 @@ public class NotEnoughUpdates { config.profileViewer.pageLayout.add(12); } + if ((config.apiData.repoUser.isEmpty() || config.apiData.repoName.isEmpty() || config.apiData.repoBranch.isEmpty()) && config.apiData.autoupdate_new) { + config.apiData.repoUser = "NotEnoughUpdates"; + config.apiData.repoName = "NotEnoughUpdates-REPO"; + config.apiData.repoBranch = "master"; + } + // Remove after 2.1 ig if ("dangerous".equals(config.apiData.repoBranch)) { config.apiData.repoBranch = "prerelease"; |