From 59fa3a394ab41d5940eeb92ba82370c9100c5132 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Thu, 6 Apr 2017 23:53:59 +0000
Subject: Move preferences to haiku settings folder


diff --git a/app/Platform.java b/app/Platform.java
index fc42cad..191fc13 100644
--- a/app/Platform.java
+++ b/app/Platform.java
@@ -81,8 +81,8 @@ public class Platform {
   
   public File getSettingsFolder() throws Exception {
     // otherwise make a .processing directory int the user's home dir
-    File home = new File(System.getProperty("user.home"));
-    File dataFolder = new File(home, ".arduino17");
+    File settings = new File(System.getProperty("user.home")+"/config/settings/");
+    File dataFolder = new File(settings, "Arduino17");
     return dataFolder;
 
     /*
-- 
2.7.0

