1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-16 11:21:18 +03:00

Merge pull request #1178 from sgk/linuxFolder

Default sketchbook folder for Linux should be "Arduino".
This commit is contained in:
Federico Fissore
2013-01-07 00:47:59 -08:00

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 {
if (openFolderAvailable()) {
String launcher = Preferences.get("launcher");