mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-03 04:00:57 -06:00
Put launcher for ResInsight in desktop environment
This commit is contained in:
parent
f6dd430b87
commit
20f00f4a3a
@ -316,4 +316,19 @@ else (PRIVATE_INSTALL)
|
||||
DESTINATION share/doc/ResInsight
|
||||
)
|
||||
# no bundled libraries for system install
|
||||
# application icon
|
||||
install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/Resources/AppLogo48x48.png
|
||||
DESTINATION share/icons/hicolor/48x48/apps
|
||||
RENAME ResInsight.png
|
||||
)
|
||||
# desktop environment icon; remember to call `update-desktop-database`
|
||||
# in package post-install scripts
|
||||
configure_file (
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/resinsight.desktop.in
|
||||
${CMAKE_CURRENT_BINARY_DIR}/resinsight.desktop
|
||||
@ONLY
|
||||
)
|
||||
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/resinsight.desktop
|
||||
DESTINATION share/applications
|
||||
)
|
||||
endif (PRIVATE_INSTALL)
|
||||
|
10
ApplicationCode/resinsight.desktop.in
Normal file
10
ApplicationCode/resinsight.desktop.in
Normal file
@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Terminal=false
|
||||
StartupNotify=true
|
||||
Icon=@CMAKE_INSTALL_PREFIX@/share/icons/hicolor/48x48/apps/ResInsight.png
|
||||
ame=ResInsight
|
||||
Comment=3D viewer and post processing tool for reservoir models
|
||||
Exec=@CMAKE_INSTALL_PREFIX@/bin/ResInsight
|
||||
Categories=Applications;Science;
|
Loading…
Reference in New Issue
Block a user