Added desktop file (fixes #3)
the build was successful Details

This commit is contained in:
tastytea 2018-10-14 03:12:30 +02:00
parent a39005bed8
commit 140d061b76
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
3 changed files with 17 additions and 2 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.6) cmake_minimum_required (VERSION 3.6)
project (whyblocked project (whyblocked
VERSION 0.7.3 VERSION 0.7.4
LANGUAGES CXX LANGUAGES CXX
) )
@ -41,6 +41,8 @@ if(NOT WITHOUT_QT)
target_link_libraries(whyblocked-gui target_link_libraries(whyblocked-gui
${LIBXDG_BASEDIR_LIBRARIES} vsqlitepp stdc++fs Qt5::Widgets) ${LIBXDG_BASEDIR_LIBRARIES} vsqlitepp stdc++fs Qt5::Widgets)
install(TARGETS whyblocked-gui DESTINATION ${CMAKE_INSTALL_BINDIR}) install(TARGETS whyblocked-gui DESTINATION ${CMAKE_INSTALL_BINDIR})
install(FILES de.tastytea.Whyblocked.desktop DESTINATION
${CMAKE_INSTALL_DATAROOTDIR}/applications)
endif() endif()

View File

@ -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. Mastodon in mind, but can be used for other contexts, of course.
It has a text interface and uses a SQLite-database. It has a text interface and uses a SQLite-database.

View File

@ -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