1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

Boards Manager: downloading additional files as specified in preference 'boardsmanager.additional.urls'

This commit is contained in:
Federico Fissore
2015-04-30 14:02:10 +02:00
parent 0292d8b30f
commit ecf432fadc
6 changed files with 104 additions and 37 deletions

View File

@ -149,6 +149,8 @@ public class ContributionManagerUI extends InstallerJDialog {
try {
setProgressVisible(true, "");
installer.updateIndex();
List<String> downloadedPackageIndexFiles = installer.updateIndex();
installer.deleteUnknownFiles(downloadedPackageIndexFiles);
onIndexesUpdated();
} catch (Exception e) {
throw new RuntimeException(e);

View File

@ -322,7 +322,8 @@ public class Base {
lastStatus = progress.getStatus();
}
};
installer.updateIndex();
List<String> downloadedPackageIndexFiles = installer.updateIndex();
installer.deleteUnknownFiles(downloadedPackageIndexFiles);
indexer.parseIndex();
indexer.syncWithFilesystem(getHardwareFolder());