mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-09-01 06:28:11 +00:00
This fix will enable the command to work on MacOSX and continue working on other *nix systems
parent
85606672fa
commit
845bca1479
@ -6,15 +6,15 @@
|
||||
|
||||
To request a link and display the resulting QR code image in a single command on linux:
|
||||
|
||||
signal-cli link -n "optional device name" | tee >(xargs -l qrencode -t utf8)
|
||||
signal-cli link -n "optional device name" | tee >(xargs -L 1 qrencode -t utf8)
|
||||
|
||||
alternatively, you can try:
|
||||
|
||||
signal-cli link -n "optional device name" | xargs -l qrencode -o /tmp/qrcode.png & while [ ! -f /tmp/qrcode.png ]; do sleep 1; done; xdg-open /tmp/qrcode.png
|
||||
signal-cli link -n "optional device name" | xargs -L 1 qrencode -o /tmp/qrcode.png & while [ ! -f /tmp/qrcode.png ]; do sleep 1; done; xdg-open /tmp/qrcode.png
|
||||
|
||||
or for newer versions on android:
|
||||
|
||||
signal-cli link -n "optional device name" | xargs -l qrencode -o /tmp/qrcode.png --level=H -v 10 & while [ ! -f /tmp/qrcode.png ]; do sleep 1; done; xdg-open /tmp/qrcode.png`
|
||||
signal-cli link -n "optional device name" | xargs -L 1 qrencode -o /tmp/qrcode.png --level=H -v 10 & while [ ! -f /tmp/qrcode.png ]; do sleep 1; done; xdg-open /tmp/qrcode.png`
|
||||
|
||||
Do not kill the `signal-cli link …` process until linking is finished; the process will exit when it's done.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user