mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
More cleanup:
- fixing import library - changing compilation to only look for source files in the root and utility/ folders of a library; also adding utility/ sub-folder to the include path - removing export to application - renaming run to verify / compile and export to upload
This commit is contained in:
@ -984,7 +984,11 @@ public class Base {
|
||||
|
||||
try {
|
||||
menu.removeAll();
|
||||
addSketches(menu, examplesFolder, false);
|
||||
boolean found = addSketches(menu, examplesFolder, false);
|
||||
if (found) menu.addSeparator();
|
||||
found = addSketches(menu, getSketchbookLibrariesFolder(), false);
|
||||
if (found) menu.addSeparator();
|
||||
addSketches(menu, librariesFolder, false);
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
@ -1141,7 +1145,7 @@ public class Base {
|
||||
|
||||
JMenuItem item = new JMenuItem(libraryName);
|
||||
item.addActionListener(listener);
|
||||
// item.setActionCommand(libraryJar.getAbsolutePath());
|
||||
item.setActionCommand(subfolder.getAbsolutePath());
|
||||
menu.add(item);
|
||||
ifound = true;
|
||||
|
||||
|
Reference in New Issue
Block a user