From 6c57bc362b5ca6a20dcf0c614b978bd09ed0b7ea Mon Sep 17 00:00:00 2001 From: Shigeru KANEMOTO Date: Sun, 17 Jun 2012 01:05:55 +0900 Subject: [PATCH] Default sketchbook folder for Linux should be "Arduino". --- app/src/processing/app/linux/Platform.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/src/processing/app/linux/Platform.java b/app/src/processing/app/linux/Platform.java index 191abbbec..c084ae70f 100644 --- a/app/src/processing/app/linux/Platform.java +++ b/app/src/processing/app/linux/Platform.java @@ -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");