Skip to content

Commit 5340806

Browse files
author
Federico Fissore
committed
Boards support and Library update check can be disabled from File > Preferences
1 parent 7f1afcd commit 5340806

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/src/processing/app/Base.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -459,15 +459,15 @@ public Base(String[] args) throws Exception {
459459
handleNew();
460460
}
461461

462+
new Thread(new BuiltInCoreIsNewerCheck(this)).start();
463+
462464
// Check for updates
463465
if (PreferencesData.getBoolean("update.check")) {
464466
new UpdateCheck(this);
465-
}
466467

467-
new Thread(new BuiltInCoreIsNewerCheck(this)).start();
468-
469-
contributionsSelfCheck = new ContributionsSelfCheck(this, new UpdatableBoardsLibsFakeURLsHandler(this), BaseNoGui.indexer, contributionInstaller, BaseNoGui.librariesIndexer, libraryInstaller);
470-
new Timer(false).schedule(contributionsSelfCheck, Constants.BOARDS_LIBS_UPDATABLE_CHECK_START_PERIOD);
468+
contributionsSelfCheck = new ContributionsSelfCheck(this, new UpdatableBoardsLibsFakeURLsHandler(this), BaseNoGui.indexer, contributionInstaller, BaseNoGui.librariesIndexer, libraryInstaller);
469+
new Timer(false).schedule(contributionsSelfCheck, Constants.BOARDS_LIBS_UPDATABLE_CHECK_START_PERIOD);
470+
}
471471

472472
} else if (parser.isNoOpMode()) {
473473
// Do nothing (intended for only changing preferences)

0 commit comments

Comments
 (0)