mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
Add default port
This commit is contained in:
parent
02d78d7607
commit
a3a1cf24d6
@ -4,7 +4,7 @@ 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
|
||||
Exec=/usr/local/bin/gpclient
|
||||
Icon=com.yuezk.qt.GPClient
|
||||
Categories=Network;VPN;Utility;Qt;
|
||||
Keywords=GlobalProtect;Openconnect;SAML;connection;VPN;
|
||||
|
@ -3,6 +3,10 @@
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QString port = QString::fromLocal8Bit(qgetenv(ENV_CDP_PORT));
|
||||
if (port == "") {
|
||||
qputenv(ENV_CDP_PORT, "12315");
|
||||
}
|
||||
SingleApplication app(argc, argv);
|
||||
GPClient w;
|
||||
w.show();
|
||||
|
Loading…
Reference in New Issue
Block a user