From 0483a4ad3ff3db293d53a995158027ba4fb12065 Mon Sep 17 00:00:00 2001 From: Kevin Whitaker Date: Fri, 8 Nov 2019 00:26:14 -0500 Subject: [PATCH] Add icon and adjust build settings for first release. --- CMakeLists.txt | 1 + README.md | 2 ++ org.eyecreate.qiflora.desktop | 6 ++--- org.eyecreate.qiflora.json | 3 +-- org.eyecreate.qiflora.svg | 46 +++++++++++++++++++++++++++++++++++ 5 files changed, 53 insertions(+), 5 deletions(-) mode change 100644 => 100755 org.eyecreate.qiflora.desktop create mode 100644 org.eyecreate.qiflora.svg diff --git a/CMakeLists.txt b/CMakeLists.txt index f77499d..f0f45bf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,6 +39,7 @@ set(CMAKE_CXX_STANDARD 11) add_subdirectory(src) install(PROGRAMS org.eyecreate.qiflora.desktop DESTINATION ${KDE_INSTALL_APPDIR}) +install(FILES org.eyecreate.qiflora.svg DESTINATION ${KDE_INSTALL_ICONDIR}) install(FILES org.eyecreate.qiflora.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR}) feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES) diff --git a/README.md b/README.md index 987346e..275307c 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,5 @@ Plants using this device will have thier data logged when app is used and graphe # Usage See [docs.plasma-mobile.org](https://docs.plasma-mobile.org/AppDevelopment.html). + +Icon made by Good Ware from www.flaticon.com diff --git a/org.eyecreate.qiflora.desktop b/org.eyecreate.qiflora.desktop old mode 100644 new mode 100755 index 238f89c..960975a --- a/org.eyecreate.qiflora.desktop +++ b/org.eyecreate.qiflora.desktop @@ -1,10 +1,10 @@ [Desktop Entry] -Name=qiflora -Comment=My first Plasma Mobile App +Name=QiFlora +Comment=Monitor plants with Mi Flora sensors. Version=1.0 Exec=qiflora MimeType=application/x-qiflora; -Icon=applications-development +Icon=org.eyecreate.qiflora Type=Application Terminal=false Categories=Qt;KDE; diff --git a/org.eyecreate.qiflora.json b/org.eyecreate.qiflora.json index 782fdac..a3ff8d8 100644 --- a/org.eyecreate.qiflora.json +++ b/org.eyecreate.qiflora.json @@ -4,8 +4,7 @@ "runtime-version": "5.12", "sdk": "org.kde.Sdk", "command": "qiflora", - "tags": ["nightly"], - "desktop-file-name-suffix": " (Nightly)", + "tags": ["kde"], "finish-args": [ "--share=ipc", "--allow=bluetooth", diff --git a/org.eyecreate.qiflora.svg b/org.eyecreate.qiflora.svg new file mode 100644 index 0000000..243343c --- /dev/null +++ b/org.eyecreate.qiflora.svg @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- GitLab