Skip to content

Commit

Permalink
Improve qrencode colors
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
hwdsl2 committed Sep 8, 2024
1 parent e58fb33 commit 91d0554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wireguard-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.'
}

Expand Down

0 comments on commit 91d0554

Please sign in to comment.