mirror of
https://github.com/arduino/Arduino.git
synced 2025-03-13 10:29:35 +01:00
Launch DiscoveryManager after populating indexes
This commit is contained in:
parent
9abf25d222
commit
7d27c43ff2
@ -605,9 +605,6 @@ public class BaseNoGui {
|
||||
}
|
||||
|
||||
static public void initPackages() throws Exception {
|
||||
|
||||
discoveryManager = new DiscoveryManager();
|
||||
|
||||
indexer = new ContributionsIndexer(getSettingsFolder(), getHardwareFolder(), getPlatform(),
|
||||
new GPGDetachedSignatureVerifier());
|
||||
|
||||
@ -635,6 +632,8 @@ public class BaseNoGui {
|
||||
File librariesIndexFile = librariesIndexer.getIndexFile();
|
||||
FileUtils.deleteIfExists(librariesIndexFile);
|
||||
}
|
||||
|
||||
discoveryManager = new DiscoveryManager();
|
||||
}
|
||||
|
||||
static protected void initPlatform() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user