Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Commit

Permalink
Create a .desktop file
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexis López Zubieta committed Jun 27, 2017
1 parent b1c2a51 commit d08a38b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
################# KI18N Translation Domain for this library #################
add_definitions(-DTRANSLATION_DOMAIN=\"nomad-firewall\")


find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Core Quick Test Gui )
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
Archive NewStuff NewStuffCore KIO Declarative I18n Config ConfigWidgets)
Expand All @@ -18,3 +17,5 @@ add_executable(${PROJECT_NAME} ${APP_SOURCES} ${APP_QML_SOURCES})
target_link_libraries(${PROJECT_NAME} Qt5::Qml Qt5::Quick)

install(TARGETS ${PROJECT_NAME} DESTINATION bin)

install( PROGRAMS nomad-firewall.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
10 changes: 10 additions & 0 deletions app/nomad-firewall.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Desktop Entry]
Type=Application
Version=0.1.0
Encoding=UTF-8
Name=Nomad Firewall
Exec=nomad-firewall
Comment=Nomad Firewall - Secure your workstation!
Icon=security-high
Terminal=false
Categories=Qt;KDE;Network;Settings;Security;

0 comments on commit d08a38b

Please sign in to comment.