mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-18 22:16:18 -05:00
fix: register desktop icons for authentication and downloader windows
This commit is contained in:
10 files changed
+64
-3
No files matched your search
@@ -19,6 +19,8 @@ install:
|
||||
install -Dm755 artifacts/usr/lib/NetworkManager/dispatcher.d/gpclient-nm-hook $(DESTDIR)/usr/lib/NetworkManager/dispatcher.d/gpclient-nm-hook
|
||||
|
||||
install -Dm644 artifacts/usr/share/applications/gpgui.desktop $(DESTDIR)/usr/share/applications/gpgui.desktop
|
||||
install -Dm644 artifacts/usr/share/applications/gpgui-helper.desktop $(DESTDIR)/usr/share/applications/gpgui-helper.desktop
|
||||
install -Dm644 artifacts/usr/share/applications/gpauth.desktop $(DESTDIR)/usr/share/applications/gpauth.desktop
|
||||
install -Dm644 artifacts/usr/share/icons/hicolor/scalable/apps/gpgui.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/gpgui.svg
|
||||
install -Dm644 artifacts/usr/share/icons/hicolor/32x32/apps/gpgui.png $(DESTDIR)/usr/share/icons/hicolor/32x32/apps/gpgui.png
|
||||
install -Dm644 artifacts/usr/share/icons/hicolor/128x128/apps/gpgui.png $(DESTDIR)/usr/share/icons/hicolor/128x128/apps/gpgui.png
|
||||
@@ -49,6 +51,8 @@ uninstall:
|
||||
rm -f $(DESTDIR)/usr/lib/NetworkManager/dispatcher.d/gpclient-nm-hook
|
||||
|
||||
rm -f $(DESTDIR)/usr/share/applications/gpgui.desktop
|
||||
rm -f $(DESTDIR)/usr/share/applications/gpgui-helper.desktop
|
||||
rm -f $(DESTDIR)/usr/share/applications/gpauth.desktop
|
||||
rm -f $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/gpgui.svg
|
||||
rm -f $(DESTDIR)/usr/share/icons/hicolor/32x32/apps/gpgui.png
|
||||
rm -f $(DESTDIR)/usr/share/icons/hicolor/128x128/apps/gpgui.png
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=GP Connect Login
|
||||
Comment=Authenticate with your VPN server
|
||||
Exec=/usr/local/bin/gpclient launch-gui
|
||||
Icon=gpgui
|
||||
NoDisplay=true
|
||||
StartupWMClass=gpauth
|
||||
@@ -0,0 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=GP Connect
|
||||
Comment=Download the GP Connect interface
|
||||
Exec=/usr/local/bin/gpclient launch-gui
|
||||
Icon=gpgui
|
||||
NoDisplay=true
|
||||
StartupWMClass=gpgui-helper
|
||||
@@ -0,0 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=GP Connect Login
|
||||
Comment=Authenticate with your VPN server
|
||||
Exec=/usr/bin/gpclient launch-gui
|
||||
Icon=gpgui
|
||||
NoDisplay=true
|
||||
StartupWMClass=gpauth
|
||||
@@ -0,0 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=GP Connect
|
||||
Comment=Download the GP Connect interface
|
||||
Exec=/usr/bin/gpclient launch-gui
|
||||
Icon=gpgui
|
||||
NoDisplay=true
|
||||
StartupWMClass=gpgui-helper
|
||||
@@ -75,6 +75,8 @@ make build
|
||||
%{_libexecdir}/gpclient/gp-hip-script-installer
|
||||
%{_libexecdir}/gpclient/gp-vpnc-script-installer
|
||||
%{_datadir}/applications/gpgui.desktop
|
||||
%{_datadir}/applications/gpgui-helper.desktop
|
||||
%{_datadir}/applications/gpauth.desktop
|
||||
%{_datadir}/icons/hicolor/32x32/apps/gpgui.png
|
||||
%{_datadir}/icons/hicolor/128x128/apps/gpgui.png
|
||||
%{_datadir}/icons/hicolor/256x256/apps/gpgui.png
|
||||
|
||||
Reference in new issue
Block a user