mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 02:20:39 +00:00
16 lines
619 B
Java
16 lines
619 B
Java
package org.asamk.signal;
|
|
|
|
public class BaseConfig {
|
|
|
|
public final static String PROJECT_NAME = BaseConfig.class.getPackage().getImplementationTitle();
|
|
public final static String PROJECT_VERSION = BaseConfig.class.getPackage().getImplementationVersion();
|
|
|
|
final static String USER_AGENT_SIGNAL_ANDROID = "Signal-Android/6.39.1";
|
|
final static String USER_AGENT_SIGNAL_CLI = PROJECT_NAME == null
|
|
? "signal-cli"
|
|
: PROJECT_NAME + "/" + PROJECT_VERSION;
|
|
final static String USER_AGENT = USER_AGENT_SIGNAL_ANDROID + " " + USER_AGENT_SIGNAL_CLI;
|
|
|
|
private BaseConfig() {
|
|
}
|
|
}
|