diff --git a/CMakeLists.txt b/CMakeLists.txt index 59e1e52..20e43d0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,5 +11,6 @@ add_subdirectory("src") find_program(XDG_DESKTOP_MENU_EXECUTABLE xdg-desktop-menu) if(XDG_DESKTOP_MENU_EXECUTABLE) + install(DIRECTORY DESTINATION "/usr/share/desktop-directories") install(CODE "execute_process(COMMAND ${XDG_DESKTOP_MENU_EXECUTABLE} install --novendor share/juci.desktop)") endif() diff --git a/share/juci.desktop b/share/juci.desktop index b249322..270114b 100644 --- a/share/juci.desktop +++ b/share/juci.desktop @@ -1,9 +1,10 @@ [Desktop Entry] +Version=1.0 Name=juCi++ Comment=A lightweight IDE -Exec=juci %F +Exec=/usr/local/bin/juci %F Terminal=false Type=Application StartupNotify=true -MimeType=text/plain; +MimeType=text/plain;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-c;text/x-c++; Categories=Utility;Development;TextEditor;