blob: 6a29db3e269aca4eba9b90ad3790f64a0cba3a65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# change config directory to $HOME/.config/chatty
Index: chatty-0.8.2/src/chatty/Chatty.java
===================================================================
--- chatty-0.8.2.orig/src/chatty/Chatty.java 2016-04-26 22:43:29.316678569 +0200
+++ chatty-0.8.2/src/chatty/Chatty.java 2016-04-26 22:44:05.245414029 +0200
@@ -186,12 +186,11 @@
* @return
*/
public static String getUserDataDirectory() {
- if (useCurrentDirectory) {
- return System.getProperty("user.dir") + File.separator;
- }
String dir = System.getProperty("user.home")
- + File.separator
- + ".chatty"
+ + File.separator
+ + ".config"
+ + File.separator
+ + "chatty"
+ File.separator;
new File(dir).mkdirs();
return dir;
|