mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-19 09:42:11 +03:00
Splashscreen
This commit is contained in:
@ -581,10 +581,7 @@ public class BaseNoGui {
|
|||||||
if (!indexFile.isFile()) {
|
if (!indexFile.isFile()) {
|
||||||
File distFile = findDefaultPackageFile();
|
File distFile = findDefaultPackageFile();
|
||||||
if (distFile != null) {
|
if (distFile != null) {
|
||||||
// If present, unpack distribution file into preferences folder
|
|
||||||
ArchiveExtractor.extract(distFile, BaseNoGui.getSettingsFolder(), 0);
|
ArchiveExtractor.extract(distFile, BaseNoGui.getSettingsFolder(), 0);
|
||||||
|
|
||||||
// TODO: The first distribution file may be removed after extraction?
|
|
||||||
} else {
|
} else {
|
||||||
// Otherwise create an empty packages index
|
// Otherwise create an empty packages index
|
||||||
FileOutputStream out = null;
|
FileOutputStream out = null;
|
||||||
|
Reference in New Issue
Block a user