mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-18 07:52:14 +01:00
CLI: fixed missing "runtime.platform.path"
This happens when the CLI is runned without the `--board` option. Fix #6463
This commit is contained in:
parent
472b3b8b39
commit
93217c40c7
@ -261,6 +261,10 @@ public class Base {
|
||||
if (!isCommandLine()) {
|
||||
rebuildBoardsMenu();
|
||||
rebuildProgrammerMenu();
|
||||
} else {
|
||||
TargetBoard lastSelectedBoard = BaseNoGui.getTargetBoard();
|
||||
if (lastSelectedBoard != null)
|
||||
BaseNoGui.selectBoard(lastSelectedBoard);
|
||||
}
|
||||
|
||||
// Setup board-dependent variables.
|
||||
|
@ -4,6 +4,7 @@ ARDUINO 1.8.4
|
||||
* IDE Toolbar can now go full width on 4K display.
|
||||
* Environment variable LIBRARY_INDEX_URL is now correctly parsed (LIBRARY_INDEX_URL_GZ can also be optinally specified). Thanks @xardael
|
||||
* Added per-board generic option in config file boards.txt for disabling control of dtr+rts. Thanks @d-a-v
|
||||
* CLI: fixed missing "runtime.platform.path" when running without the `--board` option
|
||||
|
||||
[libraries]
|
||||
* Fixed wrong folder name for "Adafruit Circuit Playground" library, now it can be updated cleanly.
|
||||
|
Loading…
x
Reference in New Issue
Block a user