Skip to content

Commit 6c57bc3

Browse files
author
Shigeru KANEMOTO
committed
Default sketchbook folder for Linux
should be "Arduino".
1 parent b5d2644 commit 6c57bc3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/src/processing/app/linux/Platform.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ public void setLookAndFeel() throws Exception {
5353
}
5454

5555

56+
public File getDefaultSketchbookFolder() throws Exception {
57+
File home = new File(System.getProperty("user.home"));
58+
return new File(home, "Arduino");
59+
}
60+
61+
5662
public void openURL(String url) throws Exception {
5763
if (openFolderAvailable()) {
5864
String launcher = Preferences.get("launcher");

0 commit comments

Comments
 (0)