Add desktop file

This commit is contained in:
Kevin Yue 2020-02-16 16:43:47 +08:00
parent 432aac1d7c
commit 71d5e96f65
4 changed files with 21 additions and 1 deletions

View File

@ -42,3 +42,11 @@ DBUS_INTERFACES += ../GPService/gpservice.xml
# Default rules for deployment.
target.path = /usr/local/bin
INSTALLS += target
DISTFILES += \
com.yuezk.qt.gpclient.desktop
desktop_entry.path = /usr/share/applications/
desktop_entry.files = com.yuezk.qt.gpclient.desktop
INSTALLS += desktop_entry

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Type=Application
Version=1.0.0
Name=GlobalProtect VPN
Comment=GlobalProtect VPN client, supports SAML auth mode
Exec=env QTWEBENGINE_REMOTE_DEBUGGING=12315 /usr/local/bin/gpclient
Icon=
Categories=Network;VPN;Utility;Qt;
Keywords=GlobalProtect;Openconnect;SAML;

View File

@ -68,6 +68,9 @@
<property name="text">
<string>vpn.microstrategy.com</string>
</property>
<property name="placeholderText">
<string>Please enter your portal address</string>
</property>
</widget>
</item>
<item>

View File

@ -3,7 +3,6 @@
int main(int argc, char *argv[])
{
qputenv(ENV_CDP_PORT, "12315");
SingleApplication app(argc, argv);
GPClient w;
w.show();