mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-25 06:22:11 +03:00
using File.separator
This commit is contained in:
@ -655,7 +655,7 @@ public class Base {
|
|||||||
if (!newbieFile.createNewFile()) {
|
if (!newbieFile.createNewFile()) {
|
||||||
throw new IOException();
|
throw new IOException();
|
||||||
}
|
}
|
||||||
FileUtils.copyFile(new File(System.getProperty("user.dir"), "examples/01.Basics/BareMinimum/BareMinimum.ino"), newbieFile);
|
FileUtils.copyFile(new File(System.getProperty("user.dir"), "examples" + File.separator + "01.Basics" + File.separator + "BareMinimum" + File.separator + "BareMinimum.ino"), newbieFile);
|
||||||
return newbieFile.getAbsolutePath();
|
return newbieFile.getAbsolutePath();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user