mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-19 00:06:01 -08:00
added unix desktop icons and menu items to install target
This commit is contained in:
@@ -20,3 +20,6 @@ ADD_EXECUTABLE(oracle WIN32 MACOSX_BUNDLE ${oracle_SOURCES} ${oracle_HEADERS_MOC
|
||||
TARGET_LINK_LIBRARIES(oracle ${QT_LIBRARIES})
|
||||
|
||||
INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/oracle DESTINATION bin)
|
||||
IF (NOT WIN32 AND NOT APPLE)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/oracle.desktop DESTINATION share/applications)
|
||||
ENDIF (NOT WIN32 AND NOT APPLE)
|
||||
|
||||
8
oracle/oracle.desktop
Normal file
8
oracle/oracle.desktop
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env xdg-open
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Name=Cockatrice Oracle downloader
|
||||
Exec=oracle
|
||||
Icon=cockatrice
|
||||
Categories=Game;CardGame;
|
||||
Reference in New Issue
Block a user