Allow installation of NBE with .desktop

master
rubenwardy 2014-07-06 17:38:33 +01:00
parent f6567bd47f
commit 7f1b6a0dc5
3 changed files with 4 additions and 2 deletions

View File

@ -87,7 +87,9 @@ install (FILES media/icon_mode_nodebox.png DESTINATION share/nodeboxeditor/media
install (FILES media/sky.jpg DESTINATION share/nodeboxeditor/media)
install (FILES media/texture_box.png DESTINATION share/nodeboxeditor/media)
install (FILES media/texture_terrain.png DESTINATION share/nodeboxeditor/media)
install (FILES media/icon.png DESTINATION share/nodeboxeditor/media)
install (FILES editor.conf.example DESTINATION share/nodeboxeditor)
install (FILES nodeboxeditor.desktop DESTINATION ~/.local/share/applications)
install (FILES README.md DESTINATION share/nodeboxeditor)
install (TARGETS ${PROJECT_NAME} DESTINATION bin)

BIN
media/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

4
nodeboxeditor.desktop Normal file → Executable file
View File

@ -1,9 +1,9 @@
[Desktop Entry]
Name=Node Box Editor
GenericName=Minetest Node Box Editor
Comment=Edit and create node boxes for minetest
Comment=Edit and create node boxes for Minetest
Exec=nodeboxeditor
Icon=nodeboxeditor
Icon=/usr/local/share/nodeboxeditor/media/icon.png
Terminal=false
Type=Application
Categories=Development;