diff --git a/obs/CMakeLists.txt b/obs/CMakeLists.txt index efbbd2983..40c7e472a 100644 --- a/obs/CMakeLists.txt +++ b/obs/CMakeLists.txt @@ -129,3 +129,9 @@ target_link_libraries(obs install_obs_core(obs) install_obs_data(obs data obs-studio) + +if (UNIX AND UNIX_STRUCTURE AND NOT APPLE) + install(FILES dist/obs.desktop DESTINATION share/applications) + install(FILES forms/images/obs.png + DESTINATION share/icons/hicolor/256x256/apps) +endif() diff --git a/obs/dist/obs.desktop b/obs/dist/obs.desktop new file mode 100644 index 000000000..9cc1b1fee --- /dev/null +++ b/obs/dist/obs.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Name=OBS +GenericName=Streaming/Recording Software +Comment=Free and Open Source Streaming/Recording Software +Exec=obs +Icon=obs +Terminal=false +Type=Application +Categories=AudioVideo;Recorder; +StartupNotify=true