$HOME/.config/signal/data/
+For legacy users, the old config directory is used as a fallback:
+
+ $HOME/.config/textsecure/data/
+
## Building
This project uses [Gradle](http://gradle.org) for building and maintaining
String settingsPath = ns.getString("config");
if (TextUtils.isEmpty(settingsPath)) {
settingsPath = System.getProperty("user.home") + "/.config/signal";
+ if (!new File(settingsPath).exists()) {
+ String legacySettingsPath = System.getProperty("user.home") + "/.config/textsecure";
+ if (new File(legacySettingsPath).exists()) {
+ settingsPath = legacySettingsPath;
+ }
+ }
}
m = new Manager(username, settingsPath);