From 91d05547e306b3c4c5462898a9635f31612ae608 Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Sun, 8 Sep 2024 08:25:03 -0500 Subject: [PATCH] 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. --- wireguard-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wireguard-install.sh b/wireguard-install.sh index d00c167..25189de 100644 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -1018,7 +1018,7 @@ start_wg_service() { } show_client_qr_code() { - qrencode -t ANSI256UTF8 < "$export_dir$client".conf + qrencode -t UTF8 < "$export_dir$client".conf echo -e '\xE2\x86\x91 That is a QR code containing the client configuration.' }