void-packages/srcpkgs/chatty/patches/config_dir.patch

20 lines
890 B
Diff
Raw Normal View History

2018-02-19 11:57:56 +00:00
*** src/chatty/Chatty.java 2017-12-26 11:56:51.000000000 -0500
--- src/chatty/Chatty.patched.java 2018-02-19 04:41:33.348588121 -0500
***************
*** 91,97 ****
* Custom Settings directory, either the current working directory if the
* -cd parameter was used, or the directory specified with the -d parameter.
*/
! private static String settingsDir = null;
/**
* Parse the commandline arguments and start the actual chat client.
--- 91,97 ----
* Custom Settings directory, either the current working directory if the
* -cd parameter was used, or the directory specified with the -d parameter.
*/
! private static String settingsDir = System.getProperty("user.home") + File.separator + ".config" + File.separator + "chatty";
/**
* Parse the commandline arguments and start the actual chat client.