Compare commits

..

3 Commits

Author SHA1 Message Date
Kevin Yue
cc59f031b0 Update README.md 2020-02-21 23:16:26 +08:00
Kevin Yue
d31598eac3 Update bin path 2020-02-21 22:31:51 +08:00
Kevin Yue
86dd501506 Change install folder 2020-02-21 22:22:24 +08:00
6 changed files with 12 additions and 6 deletions

View File

@@ -40,7 +40,7 @@ FORMS += \
DBUS_INTERFACES += ../GPService/gpservice.xml
# Default rules for deployment.
target.path = /usr/local/bin
target.path = /usr/bin
INSTALLS += target
DISTFILES += \

View File

@@ -4,7 +4,7 @@ Type=Application
Version=1.0.0
Name=GlobalProtect VPN
Comment=GlobalProtect VPN client, supports SAML auth mode
Exec=/usr/local/bin/gpclient
Exec=/usr/bin/gpclient
Icon=com.yuezk.qt.GPClient
Categories=Network;VPN;Utility;Qt;
Keywords=GlobalProtect;Openconnect;SAML;connection;VPN;

View File

@@ -32,7 +32,7 @@ SOURCES += \
DBUS_ADAPTORS += gpservice.xml
# Default rules for deployment.
target.path = /usr/local/bin
target.path = /usr/bin
INSTALLS += target
DISTFILES += \

View File

@@ -1,5 +1,5 @@
[D-BUS Service]
Name=com.yuezk.qt.GPService
Exec=/usr/local/bin/gpservice
Exec=/usr/bin/gpservice
User=root
SystemdService=gpservice.service

View File

@@ -4,7 +4,7 @@ Description=GlobalProtect openconnect DBus service
[Service]
Type=dbus
BusName=com.yuezk.qt.GPService
ExecStart=/usr/local/bin/gpservice
ExecStart=/usr/bin/gpservice
[Install]
WantedBy=multi-user.target

View File

@@ -19,10 +19,16 @@ A GlobalProtect VPN client (GUI) for Linux based on Openconnect and built with Q
```
## Install
### Install from AUR (Arch/Manjaro)
Install [globalprotect-openconnect](https://aur.archlinux.org/packages/globalprotect-openconnect/).
### Build from source code
```sh
git clone https://github.com/yuezk/GlobalProtect-openconnect.git
cd GlobalProtect-openconnect
git submodule init && git submodule update
git submodule update --init
qmake CONFIG+=release
make
sudo make install