mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
Add desktop file
This commit is contained in:
parent
432aac1d7c
commit
71d5e96f65
@ -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
|
||||
|
10
GPClient/com.yuezk.qt.gpclient.desktop
Normal file
10
GPClient/com.yuezk.qt.gpclient.desktop
Normal 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;
|
@ -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>
|
||||
|
@ -3,7 +3,6 @@
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
qputenv(ENV_CDP_PORT, "12315");
|
||||
SingleApplication app(argc, argv);
|
||||
GPClient w;
|
||||
w.show();
|
||||
|
Loading…
Reference in New Issue
Block a user