Skip to content

Commit 91d0554

Browse files
committed
Improve qrencode colors
- Revert commit bb9080c. Changing UTF8 to ANSI256UTF8 does not work on e.g. Ubuntu 20.04, and causes an error when showing client QR codes.
1 parent e58fb33 commit 91d0554

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wireguard-install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,7 @@ start_wg_service() {
10181018
}
10191019

10201020
show_client_qr_code() {
1021-
qrencode -t ANSI256UTF8 < "$export_dir$client".conf
1021+
qrencode -t UTF8 < "$export_dir$client".conf
10221022
echo -e '\xE2\x86\x91 That is a QR code containing the client configuration.'
10231023
}
10241024

0 commit comments

Comments
 (0)