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:
parent
8d84432f71
commit
21bcb6417c
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user