1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00

Build menus only in gui mode

This commit is contained in:
Cristian Maglie 2016-11-07 17:05:08 +01:00
parent 8d84432f71
commit 21bcb6417c

View File

@ -245,9 +245,13 @@ public class Base {
splash.splashText(tr("Initializing packages..."));
BaseNoGui.initPackages();
splash.splashText(tr("Preparing boards..."));
rebuildBoardsMenu();
rebuildProgrammerMenu();
if (!isCommandLine()) {
rebuildBoardsMenu();
rebuildProgrammerMenu();
}
// Setup board-dependent variables.
onBoardOrPortChange();