diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index cb432fdd6..9cd36ba51 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -127,3 +127,4 @@ INSTALL( DIRECTORY ../examples/scripts/ DESTINATION scripts ) INSTALL( DIRECTORY ../examples/textures/ DESTINATION textures ) INSTALL( FILES ../LICENSE DESTINATION . ) INSTALL( FILES ../README.md DESTINATION . ) +INSTALL( FILES ../vspIcon.png DESTINATION .) diff --git a/src/cmake/postinst b/src/cmake/postinst index be1c75f7c..b1e3604b6 100755 --- a/src/cmake/postinst +++ b/src/cmake/postinst @@ -6,3 +6,19 @@ ln -nsf /opt/OpenVSP/vspaero /usr/local/bin/vspaero; ln -nsf /opt/OpenVSP/vspscript /usr/local/bin/vspscript; ln -nsf /opt/OpenVSP/vspslicer /usr/local/bin/vspslicer; ln -nsf /opt/OpenVSP/vspviewer /usr/local/bin/vspviewer; +echo "Setting up desktop entry ..."; +ln -nsf /opt/OpenVSP/vspIcon.png /usr/share/pixmaps/vspIcon.png +cat >> /usr/share/applications/vsp.desktop <