diff --git a/GPClient/CMakeLists.txt b/GPClient/CMakeLists.txt index ab671ae..6dc6951 100644 --- a/GPClient/CMakeLists.txt +++ b/GPClient/CMakeLists.txt @@ -85,5 +85,6 @@ target_link_libraries(gpclient target_compile_definitions(gpclient PUBLIC QAPPLICATION_CLASS=QApplication) install(TARGETS gpclient DESTINATION "/usr/bin") +install(FILES com.yuezk.qt.gpclient.metainfo.xml DESTINATION "/usr/share/metainfo") install(FILES com.yuezk.qt.gpclient.desktop DESTINATION "/usr/share/applications") -install(FILES com.yuezk.qt.GPClient.svg DESTINATION "/usr/share/pixmaps") +install(FILES com.yuezk.qt.GPClient.svg DESTINATION "/usr/share/icons/hicolor/scalable/apps") diff --git a/GPClient/com.yuezk.qt.gpclient.metainfo.xml b/GPClient/com.yuezk.qt.gpclient.metainfo.xml index 37bed44..c39df8e 100644 --- a/GPClient/com.yuezk.qt.gpclient.metainfo.xml +++ b/GPClient/com.yuezk.qt.gpclient.metainfo.xml @@ -33,7 +33,7 @@ com.yuezk.qt.gpclient.desktop - https://raw.githubusercontent.com/yuezk/GlobalProtect-openconnect/master/screenshot.png + https://user-images.githubusercontent.com/3297602/133869036-5c02b0d9-c2d9-4f87-8c81-e44f68cfd6ac.png diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index b09fe02..6355cf0 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,12 +1,18 @@ name: globalprotect-openconnect base: core18 version: 'test' -summary: A GlobalProtect VPN client powered by OpenConnect -description: | - A GlobalProtect VPN client (GUI) for Linux based on OpenConnect and built with Qt5, supports SAML auth mode. - grade: devel confinement: devmode # use 'strict' once you have the right plugs and slots +compression: lzo + +contact: k3vinyue@gmail.com +donation: https://www.buymeacoffee.com/yuezk +issues: https://github.com/yuezk/GlobalProtect-openconnect/issues +source-code: https://github.com/yuezk/GlobalProtect-openconnect +website: https://github.com/yuezk/GlobalProtect-openconnect +license: GPL-3.0 + +adopt-info: application package-repositories: - type: apt @@ -63,6 +69,8 @@ apps: parts: application: + parse-info: + - usr/share/metainfo/com.yuezk.qt.gpclient.metainfo.xml plugin: cmake source: . build-packages: