Icon and Desktop file in portable builds

This commit is contained in:
Chris Esposito 2019-04-23 19:02:13 +10:00
parent e8a817fe4d
commit 0b12407307
2 changed files with 7 additions and 7 deletions

View File

@ -171,25 +171,25 @@ unix:!android:!macx{
other.files += bin/waveforms
other.path = /usr/local/bin/EspoTek-Labrador
target.path = /usr/local/bin/EspoTek-Labrador
symlink.path = /usr/local/bin
symlink.extra = ln -sf /usr/local/bin/EspoTek-Labrador/Labrador /usr/local/bin/labrador
udev.path = /etc/udev/rules.d
udev.files = rules.d/69-labrador.rules
udevextra.path = /etc/udev/rules.d
udevextra.extra = udevadm control --reload-rules && udevadm trigger
icon.files += resources/espotek-labrador.png
icon.path = /usr/share/icons/hicolor/256x256/apps/
desktop.files += resources/espotek-labrador.desktop
desktop.path = /usr/share/applications
symlink.path = /usr/local/bin
symlink.extra = ln -sf /usr/local/bin/EspoTek-Labrador/Labrador /usr/local/bin/labrador
udevextra.path = /etc/udev/rules.d
udevextra.extra = udevadm control --reload-rules && udevadm trigger
INSTALLS += target
INSTALLS += lib_deploy
INSTALLS += other
INSTALLS += udev
INSTALLS += icon
INSTALLS += desktop
!equals(PORTABLE, 1){
INSTALLS += symlink
INSTALLS += udevextra
INSTALLS += icon
INSTALLS += desktop
}
}

View File

@ -4,7 +4,7 @@ Comment=Software Interface for Labrador Board
Exec=/usr/local/bin/EspoTek-Labrador/Labrador
Terminal=false
Type=Application
Categories=Electronics
Categories=Education;Electronics
Icon=/usr/share/icons/hicolor/256x256/apps/espotek-labrador.png