mirror of
https://github.com/arduino/Arduino.git
synced 2025-04-05 21:40:24 +02: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..."));
|
splash.splashText(tr("Initializing packages..."));
|
||||||
BaseNoGui.initPackages();
|
BaseNoGui.initPackages();
|
||||||
|
|
||||||
splash.splashText(tr("Preparing boards..."));
|
splash.splashText(tr("Preparing boards..."));
|
||||||
rebuildBoardsMenu();
|
|
||||||
rebuildProgrammerMenu();
|
if (!isCommandLine()) {
|
||||||
|
rebuildBoardsMenu();
|
||||||
|
rebuildProgrammerMenu();
|
||||||
|
}
|
||||||
|
|
||||||
// Setup board-dependent variables.
|
// Setup board-dependent variables.
|
||||||
onBoardOrPortChange();
|
onBoardOrPortChange();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user