improve message

This commit is contained in:
Kevin Yue 2021-09-18 22:07:17 +08:00
parent 6ed56c6b18
commit 9fcd00613b
2 changed files with 3 additions and 1 deletions

View File

@ -133,6 +133,8 @@ bool GPService::isValidVersion(QString &bin) {
QRegularExpressionMatch match = re.match(output); QRegularExpressionMatch match = re.match(output);
if (match.hasMatch()) { if (match.hasMatch()) {
log("Output of `openconnect --version`: " + output);
QString fullVersion = match.captured(0); QString fullVersion = match.captured(0);
QString majorVersion = match.captured(1); QString majorVersion = match.captured(1);

View File

@ -55,7 +55,7 @@ cd GlobalProtect-openconnect
### Arch/Manjaro ### Arch/Manjaro
Install from the [globalprotect-openconnect](https://aur.archlinux.org/packages/globalprotect-openconnect/) AUR. Install from the [globalprotect-openconnect](https://aur.archlinux.org/packages/globalprotect-openconnect/) AUR.
### Ubuntu ### 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 ```sh
sudo add-apt-repository ppa:dwmw2/openconnect sudo add-apt-repository ppa:dwmw2/openconnect