Add XDG desktop entry and icon

This commit is contained in:
Epicalert 2021-07-14 02:24:44 +08:00
parent 7456a1f111
commit 45e90164fb
No known key found for this signature in database
GPG key ID: CAA46F858D0979BD
4 changed files with 11 additions and 1 deletions

View file

@ -87,3 +87,7 @@ 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
DESTINATION share/applications )
install( FILES ${PROJECT_SOURCE_DIR}/facecam2d.png
DESTINATION share/icons/hicolor/48x48 )

View file

@ -9,7 +9,6 @@
## misc
- README
- .desktop entry
- windows installer?

BIN
packaging/facecam2d.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View file

@ -0,0 +1,7 @@
[Desktop Entry]
Type=Application
Name=Facecam2D
Comment=2D avatar facecam software
Icon=facecam2d
Categories=Graphics
Exec=sh -c "fc2dconfig && fc2d"