From 140d061b76bfb14b07c753171fef65b249a6802c Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 14 Oct 2018 03:12:30 +0200 Subject: [PATCH] Added desktop file (fixes #3) --- CMakeLists.txt | 4 +++- README.md | 2 +- de.tastytea.Whyblocked.desktop | 13 +++++++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 de.tastytea.Whyblocked.desktop diff --git a/CMakeLists.txt b/CMakeLists.txt index 317f7b1..4e26512 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.6) project (whyblocked - VERSION 0.7.3 + VERSION 0.7.4 LANGUAGES CXX ) @@ -41,6 +41,8 @@ if(NOT WITHOUT_QT) target_link_libraries(whyblocked-gui ${LIBXDG_BASEDIR_LIBRARIES} vsqlitepp stdc++fs Qt5::Widgets) install(TARGETS whyblocked-gui DESTINATION ${CMAKE_INSTALL_BINDIR}) + install(FILES de.tastytea.Whyblocked.desktop DESTINATION + ${CMAKE_INSTALL_DATAROOTDIR}/applications) endif() diff --git a/README.md b/README.md index 26a2e60..0f09707 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -**whyblocked** reminds you why you blocked someone. It is developed with +**Whyblocked** reminds you why you blocked someone. It is developed with Mastodon in mind, but can be used for other contexts, of course. It has a text interface and uses a SQLite-database. diff --git a/de.tastytea.Whyblocked.desktop b/de.tastytea.Whyblocked.desktop new file mode 100644 index 0000000..b975095 --- /dev/null +++ b/de.tastytea.Whyblocked.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Type=Application +Version=1.1 +Name=Whyblocked +Comment=Reminds you why you blocked someone +Comment[de]=Erinnert dich, warum du jemanden blockiertest +#Icon=org.tastytea.Whyblocked +Exec=whyblocked-gui +Terminal=false +Categories=Utility; +Keywords=blocklist;social-network; +StartupNotify=true +StartupWMClass=whyblocked-gui