diff --git a/app/src/processing/app/Base.java b/app/src/processing/app/Base.java index d9474b9ec..94d17e2ed 100644 --- a/app/src/processing/app/Base.java +++ b/app/src/processing/app/Base.java @@ -459,16 +459,16 @@ public class Base { handleNew(); } + new Thread(new BuiltInCoreIsNewerCheck(this)).start(); + // Check for updates if (PreferencesData.getBoolean("update.check")) { new UpdateCheck(this); + + contributionsSelfCheck = new ContributionsSelfCheck(this, new UpdatableBoardsLibsFakeURLsHandler(this), BaseNoGui.indexer, contributionInstaller, BaseNoGui.librariesIndexer, libraryInstaller); + new Timer(false).schedule(contributionsSelfCheck, Constants.BOARDS_LIBS_UPDATABLE_CHECK_START_PERIOD); } - new Thread(new BuiltInCoreIsNewerCheck(this)).start(); - - contributionsSelfCheck = new ContributionsSelfCheck(this, new UpdatableBoardsLibsFakeURLsHandler(this), BaseNoGui.indexer, contributionInstaller, BaseNoGui.librariesIndexer, libraryInstaller); - new Timer(false).schedule(contributionsSelfCheck, Constants.BOARDS_LIBS_UPDATABLE_CHECK_START_PERIOD); - } else if (parser.isNoOpMode()) { // Do nothing (intended for only changing preferences) System.exit(0);