mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-17 02:55:02 +00:00
V2 update checker API. No more manual bumps!
This commit is contained in:
5 files changed
+289
-54
No files matched your search
@@ -58,7 +58,7 @@ public class CommonProxy {
|
||||
CommonEventHandlerPre.registerBus();
|
||||
if (LibraryConfig.ENABLE_UPDATE_CHECKER) {
|
||||
Share.LOG.info("Launching asynchronous update check.");
|
||||
updatesFuture = UpdateChecker.fetchUpdatesAsync(FalsePatternLib.UPDATE_URL).thenApplyAsync(updates -> {
|
||||
updatesFuture = UpdateChecker.fetchUpdatesAsyncV2(FalsePatternLib.UPDATE_URL).thenApplyAsync(updates -> {
|
||||
if (updates == null) {
|
||||
updates = Collections.emptyList();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user