mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
improve message
This commit is contained in:
parent
6ed56c6b18
commit
9fcd00613b
@ -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);
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user