blob: 87bd4600004d1eaa088521c01eea10a628910ff8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
diff --git a/assets/linux/zmkBATx.desktop b/assets/linux/zmkBATx.desktop
index 13cfb80..a07de47 100644
--- a/assets/linux/zmkBATx.desktop
+++ b/assets/linux/zmkBATx.desktop
@@ -2,7 +2,7 @@
Type=Application
Name=zmkBATx
Comment=Opensource tool for peripheral battery monitoring zmk split keyboard over BLE for linux
-Exec=zmkBATx
+Exec=zmkbatx
Icon=zmkBATx
Categories=Utility;DataVisualization;Qt;
-Name[en_US]=zmkBATx.desktop
+Name[en_US]=zmkBATx
diff --git a/zmkBATx.pro b/zmkBATx.pro
index 3b00a3c..38737c5 100644
--- a/zmkBATx.pro
+++ b/zmkBATx.pro
@@ -35,7 +35,7 @@ OTHER_FILES += README.md \
deploy_dep.sh \
.gitignore
-LIBS += -L$$PWD/src/thirdparty/ -lsimplebluez
+LIBS += -L$$PWD/src/thirdparty/ -lsimplebluez -lsimpledbus
INCLUDEPATH += $$PWD/src/thirdparty
DEPENDPATH += $$PWD/src/thirdparty
@@ -45,6 +45,7 @@ INCLUDEPATH += /usr/include/dbus-1.0
# Inclui o diretório para o mecanismo de sistema de mensagem D-Bus
INCLUDEPATH += /usr/lib/x86_64-linux-gnu/dbus-1.0/include
+INCLUDEPATH += /usr/lib64/dbus-1.0/include
# Link com a biblioteca D-Bus
LIBS += -ldbus-1
@@ -73,8 +74,10 @@ linux:!android {
target_appentry.path = $${PREFIX}/share/applications
target_appdata.files += $${OUT_PWD}/assets/linux/$$lower($${TARGET}).appdata.xml
target_appdata.path = $${PREFIX}/share/appdata
+ target_icons.files += $${OUT_PWD}/assets/linux/$$lower($${TARGET}).png
+ target_icons.path = $${PREFIX}/share/icons
- INSTALLS += target_app target_appentry target_appdata
+ INSTALLS += target_app target_appentry target_appdata target_icons
}
|