mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-09-23 06:39:04 +00:00
Compare commits
6 Commits
9230b2746d
...
d9ec002439
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d9ec002439 | ||
|
|
f75c549087 | ||
|
|
60649041c8 | ||
|
|
0e9e11d44f | ||
|
|
37eab78771 | ||
|
|
b02b51df01 |
@ -15,14 +15,25 @@ java {
|
||||
}
|
||||
|
||||
val libsignalClientPath = project.findProperty("libsignal_client_path")?.toString()
|
||||
val libsignalClientVersion = "0.101.0"
|
||||
val androidClassifier = project.findProperty("androidClassifier")?.toString()
|
||||
|
||||
dependencies {
|
||||
implementation(libs.signalnetwork) {
|
||||
exclude(group = "org.signal", module = "libsignal-client")
|
||||
}
|
||||
|
||||
if (libsignalClientPath == null) {
|
||||
implementation(libs.signalnetwork)
|
||||
} else {
|
||||
implementation(libs.signalnetwork) {
|
||||
exclude(group = "org.signal", module = "libsignal-client")
|
||||
implementation("org.signal:libsignal-client:$libsignalClientVersion")
|
||||
if (androidClassifier != null) {
|
||||
implementation(
|
||||
group = "org.signal",
|
||||
name = "libsignal-client",
|
||||
version = libsignalClientVersion,
|
||||
classifier = androidClassifier,
|
||||
)
|
||||
}
|
||||
} else {
|
||||
implementation(files(libsignalClientPath))
|
||||
}
|
||||
implementation(libs.jackson.databind)
|
||||
@ -60,4 +71,4 @@ tasks.jar {
|
||||
manifest {
|
||||
attributes("Automatic-Module-Name" to "org.asamk.signal.manager")
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -414,4 +414,4 @@ public class SessionStore implements SignalServiceSessionStore {
|
||||
}
|
||||
|
||||
record Key(String address, int deviceId) {}
|
||||
}
|
||||
}
|
||||
@ -247,7 +247,8 @@ Remove the registration lock pin.
|
||||
Link to an existing device, instead of registering a new number.
|
||||
This shows a "sgnl://linkdevice?uuid=..." URI.
|
||||
If you want to connect to another signal-cli instance, you can just use this URI.
|
||||
If you want to link to an Android/iOS device, create a QR code with the URI (e.g. with qrencode) and scan that in the Signal app.
|
||||
If you want to link to an Android/iOS device, scan the QR code that signal-cli prints in the terminal with the Signal app.
|
||||
If signal-cli is not running in a terminal, only the URI is printed and you can create a QR code from it yourself (e.g. with qrencode).
|
||||
|
||||
*-n* NAME, *--name* NAME::
|
||||
Optionally specify a name to describe this new device.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user