Separate fc2d and fc2dconfig desktop entries

This commit is contained in:
Epicalert 2021-07-19 20:35:15 +08:00
parent 2cd872cae2
commit d01d98d466
No known key found for this signature in database
GPG key ID: CAA46F858D0979BD
4 changed files with 14 additions and 3 deletions

View file

@ -87,7 +87,11 @@ install( DIRECTORY ${PROJECT_BINARY_DIR}/models
DESTINATION share/facecam2d )
install( DIRECTORY ${PROJECT_BINARY_DIR}/cvdata
DESTINATION share/facecam2d )
install( FILES ${PROJECT_SOURCE_DIR}/xyz.epicalert.facecam2d.desktop
install( FILES
${PROJECT_SOURCE_DIR}/packaging/xyz.epicalert.facecam2d.desktop
${PROJECT_SOURCE_DIR}/packaging/xyz.epicalert.facecam2d-config.desktop
DESTINATION share/applications )
install( FILES ${PROJECT_SOURCE_DIR}/facecam2d.png
install( FILES
${PROJECT_SOURCE_DIR}/packaging/facecam2d.png
${PROJECT_SOURCE_DIR}/packaging/facecam2d-config.png
DESTINATION share/icons/hicolor/48x48 )

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View file

@ -0,0 +1,7 @@
[Desktop Entry]
Type=Application
Name=Facecam2D Configuration
Comment=Configuration tool for Facecam2D
Icon=facecam2d-config
Categories=Graphics
Exec=fc2dconfig

View file

@ -4,4 +4,4 @@ Name=Facecam2D
Comment=2D avatar facecam software
Icon=facecam2d
Categories=Graphics
Exec=sh -c "fc2dconfig && fc2d"
Exec=fc2d