From 9fcd00613bc110ad4065c9cf07de7b2c30faf75f Mon Sep 17 00:00:00 2001 From: Kevin Yue Date: Sat, 18 Sep 2021 22:07:17 +0800 Subject: [PATCH] improve message --- GPService/gpservice.cpp | 2 ++ README.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/GPService/gpservice.cpp b/GPService/gpservice.cpp index 0676b9f..aafc22f 100644 --- a/GPService/gpservice.cpp +++ b/GPService/gpservice.cpp @@ -133,6 +133,8 @@ bool GPService::isValidVersion(QString &bin) { QRegularExpressionMatch match = re.match(output); if (match.hasMatch()) { + log("Output of `openconnect --version`: " + output); + QString fullVersion = match.captured(0); QString majorVersion = match.captured(1); diff --git a/README.md b/README.md index f7709a7..25c7bd6 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ cd GlobalProtect-openconnect ### Arch/Manjaro Install from the [globalprotect-openconnect](https://aur.archlinux.org/packages/globalprotect-openconnect/) AUR. ### Ubuntu -For **Ubuntu 18.04**, add this [dwmw2/openconnect](https://launchpad.net/~dwmw2/+archive/ubuntu/openconnect) PPA to install the latest openconnect. +For **Ubuntu 18.04**, add this [dwmw2/openconnect](https://launchpad.net/~dwmw2/+archive/ubuntu/openconnect) PPA first to install the latest openconnect. ```sh sudo add-apt-repository ppa:dwmw2/openconnect