mirror of https://github.com/EspoTek/Labrador.git
Install the Labrador executable in /usr/bin on Linux
Fix the labrador -> Labrador symlink so that it's created in ${INSTALL_ROOT} when supplied; previously it was installed directly to /usr/bin. This symlink may not be necessary anymore.
This commit is contained in:
parent
73df20a429
commit
4348dec47a
|
@ -164,7 +164,7 @@ unix:!android:!macx{
|
|||
}
|
||||
}
|
||||
|
||||
target.path = /usr/bin/EspoTek-Labrador
|
||||
target.path = /usr/bin
|
||||
|
||||
firmware.files += $$files(bin/firmware/labrafirm*)
|
||||
firmware.path = /usr/share/EspoTek/Labrador/firmware
|
||||
|
@ -181,26 +181,17 @@ unix:!android:!macx{
|
|||
icon256.files += resources/icon256/espotek-labrador.png
|
||||
icon256.path = /usr/share/icons/hicolor/256x256/apps/
|
||||
|
||||
equals(APPIMAGE, 1){
|
||||
desktop.files += resources/appimage/espotek-labrador.desktop
|
||||
}
|
||||
!equals(APPIMAGE, 1){
|
||||
desktop.files += resources/espotek-labrador.desktop
|
||||
}
|
||||
desktop.files += resources/espotek-labrador.desktop
|
||||
desktop.path = /usr/share/applications
|
||||
|
||||
symlink.path = /usr/bin
|
||||
symlink.extra = ln -sf ${INSTALL_ROOT}/usr/bin/EspoTek-Labrador/Labrador /usr/bin/labrador
|
||||
symlink.extra = ln -sf Labrador ${INSTALL_ROOT}/usr/bin/labrador
|
||||
|
||||
udevextra.path = /etc/udev/rules.d
|
||||
!equals(DEB, 1){
|
||||
udevextra.extra = udevadm control --reload-rules && udevadm trigger
|
||||
}
|
||||
|
||||
equals(APPIMAGE, 1){
|
||||
target.path = /usr/bin
|
||||
}
|
||||
|
||||
INSTALLS += target
|
||||
INSTALLS += lib_deploy
|
||||
INSTALLS += firmware
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=EspoTek Labrador
|
||||
Comment=Software Interface for Labrador Board
|
||||
Exec=Labrador
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Education;Electronics;
|
||||
Icon=espotek-labrador
|
|
@ -1,7 +1,7 @@
|
|||
[Desktop Entry]
|
||||
Name=EspoTek Labrador
|
||||
Comment=Software Interface for Labrador Board
|
||||
Exec=/usr/bin/EspoTek-Labrador/Labrador
|
||||
Exec=Labrador
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Education;Electronics;
|
||||
|
|
Loading…
Reference in New Issue