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:
@ -45,10 +45,10 @@ public class LibraryManager {
|
||||
{
|
||||
String userDir = System.getProperty("user.dir") + File.separator;
|
||||
libDir = new File(
|
||||
((!Base.isMacOS()) ? "" : userDir) + "lib" + File.separator +
|
||||
"targets" + File.separator + "libraries");
|
||||
((!Base.isMacOS()) ? "" : userDir) + "hardware" + File.separator +
|
||||
"libraries");
|
||||
target = new Target(
|
||||
System.getProperty("user.dir") + File.separator + "lib" +
|
||||
System.getProperty("user.dir") + File.separator + "hardware" +
|
||||
File.separator + "targets", Preferences.get("build.target"));
|
||||
refreshLibraries();
|
||||
}
|
||||
|
Reference in New Issue
Block a user