mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Split manager ServiceConfig from BaseConfig
This commit is contained in:
parent
06caf4ebb3
commit
8163a42d3a
5 changed files with 55 additions and 43 deletions
12
src/main/java/org/asamk/signal/BaseConfig.java
Normal file
12
src/main/java/org/asamk/signal/BaseConfig.java
Normal file
|
@ -0,0 +1,12 @@
|
|||
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 = PROJECT_NAME == null ? "signal-cli" : PROJECT_NAME + " " + PROJECT_VERSION;
|
||||
|
||||
private BaseConfig() {
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue