summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-08-28 08:32:10 +0800
committerErik Kundiman <erik@megapahit.org>2023-08-28 08:32:10 +0800
commite06d92b387daa967532660aa22f08b02a8f61e24 (patch)
treee51c6e1112beee58e239cacfd956acfdb123e36f /indra/newview
parent9e8717bbd544add6d4988e9cb89790ae6ff9b25a (diff)
XDG desktop entry
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/ViewerInstall.cmake4
-rwxr-xr-xindra/newview/linux_tools/megapahit.desktop10
2 files changed, 14 insertions, 0 deletions
diff --git a/indra/newview/ViewerInstall.cmake b/indra/newview/ViewerInstall.cmake
index 854e2123c4..ffc18ac984 100644
--- a/indra/newview/ViewerInstall.cmake
+++ b/indra/newview/ViewerInstall.cmake
@@ -36,3 +36,7 @@ install(FILES featuretable_linux.txt
install(FILES ${SCRIPTS_DIR}/messages/message_template.msg
DESTINATION share/${VIEWER_BINARY_NAME}/app_settings
)
+
+install(FILES linux_tools/${VIEWER_BINARY_NAME}.desktop
+ DESTINATION share/applications
+ )
diff --git a/indra/newview/linux_tools/megapahit.desktop b/indra/newview/linux_tools/megapahit.desktop
new file mode 100755
index 0000000000..05e5d0175a
--- /dev/null
+++ b/indra/newview/linux_tools/megapahit.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Megapahit
+Comment=A fork of the Second Life viewer
+Exec=megapahit
+Icon=megapahit
+Terminal=false
+Type=Application
+Categories=Application;Network;
+StartupNotify=true
+X-Desktop-File-Install-Version=3.0"