mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
GUI for platform installer, first draft
This commit is contained in:
committed by
Federico Fissore
parent
100dd21bd0
commit
373a625903
@ -197,4 +197,16 @@ public class ContributionsIndexer {
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
public ContributionsIndex getIndex() {
|
||||
return index;
|
||||
}
|
||||
|
||||
public void install(ContributedPlatform platform) {
|
||||
// TODO Auto-generated method stub
|
||||
}
|
||||
|
||||
public void remove(ContributedPlatform platform) {
|
||||
// TODO Auto-generated method stub
|
||||
}
|
||||
}
|
||||
|
@ -69,9 +69,10 @@ public class BaseNoGui {
|
||||
static Platform platform;
|
||||
|
||||
static File portableFolder = null;
|
||||
|
||||
static final String portableSketchbookFolder = "sketchbook";
|
||||
|
||||
static ContributionsIndexer indexer;
|
||||
|
||||
// Returns a File object for the given pathname. If the pathname
|
||||
// is not absolute, it is interpreted relative to the current
|
||||
// directory when starting the IDE (which is not the same as the
|
||||
@ -584,7 +585,7 @@ public class BaseNoGui {
|
||||
}
|
||||
|
||||
static public void initPackages() throws Exception {
|
||||
ContributionsIndexer indexer = new ContributionsIndexer(BaseNoGui.getSettingsFolder());
|
||||
indexer = new ContributionsIndexer(BaseNoGui.getSettingsFolder());
|
||||
indexer.parseIndex();
|
||||
indexer.syncWithFilesystem();
|
||||
System.out.println(indexer);
|
||||
|
Reference in New Issue
Block a user