mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-13 07:10:05 +02:00
25 lines
804 B
Plaintext
25 lines
804 B
Plaintext
From c7895860292ccb31e6b7418520e27c5b95fc3a48 Mon Sep 17 00:00:00 2001
|
|
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
|
Date: Thu, 11 Jun 2015 19:54:35 +1000
|
|
Subject: Move preferences to haiku settings folder
|
|
|
|
|
|
diff --git a/app/Platform.java b/app/Platform.java
|
|
index 3c46c09..9d5e6dc 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, ".arduino15");
|
|
+ File settings = new File(System.getProperty("user.home")+"/config/settings/");
|
|
+ File dataFolder = new File(settings, "Arduino15");
|
|
return dataFolder;
|
|
|
|
/*
|
|
--
|
|
2.2.2
|
|
|