This fix will enable the command to work on MacOSX and continue working on other *nix systems

Donald A Lobo 2021-01-11 18:15:50 -08:00
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.