1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-20 21:01:25 +03:00

Default sketchbook folder for Linux

should be "Arduino".
This commit is contained in:
Shigeru KANEMOTO
2012-06-17 01:05:55 +09:00
parent b5d264443c
commit 6c57bc362b

View File

@ -53,6 +53,12 @@ public class Platform extends processing.app.Platform {
} }
public File getDefaultSketchbookFolder() throws Exception {
File home = new File(System.getProperty("user.home"));
return new File(home, "Arduino");
}
public void openURL(String url) throws Exception { public void openURL(String url) throws Exception {
if (openFolderAvailable()) { if (openFolderAvailable()) {
String launcher = Preferences.get("launcher"); String launcher = Preferences.get("launcher");