void-packages/srcpkgs/chatty/patches/config_dir.patch
2018-03-01 21:36:20 -05:00

19 lines
890 B
Diff

*** 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.