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

Updating code for the new folder organization. This version should be able to compile and upload sketches, including libraries, but burning bootloaders won't work.

This commit is contained in:
David A. Mellis
2007-10-06 14:27:42 +00:00
parent 76527c7a9d
commit 6541c74c6c
11 changed files with 29 additions and 71 deletions

View File

@ -1447,7 +1447,7 @@ public class Editor extends JFrame
public void run() {
try {
if (!sketch.handleRun(new Target(
System.getProperty("user.dir") + File.separator + "lib" +
System.getProperty("user.dir") + File.separator + "hardware" +
File.separator + "targets", Preferences.get("build.target"))))
return;
@ -2056,7 +2056,7 @@ public class Editor extends JFrame
//boolean success = sketch.isLibrary() ?
//sketch.exportLibrary() : sketch.exportApplet();
boolean success = sketch.exportApplet(new Target(
System.getProperty("user.dir") + File.separator + "lib" +
System.getProperty("user.dir") + File.separator + "hardware" +
File.separator + "targets", Preferences.get("build.target")));
if (success) {
message("Done uploading.");