forked from Mirrors/openclonk
Register clonk:// protocol handler on Linux
parent
1e5d5b56da
commit
f65c08f041
|
@ -1494,6 +1494,8 @@ if (NOT APPLE)
|
|||
|
||||
# Install new files
|
||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/openclonk.desktop DESTINATION share/applications)
|
||||
# Update the MIME cache -- this makes the clonk:// protocol handler actually work
|
||||
install(CODE "execute_process(COMMAND update-desktop-database)")
|
||||
|
||||
# Install binaries
|
||||
install(TARGETS openclonk DESTINATION games)
|
||||
|
|
|
@ -8,3 +8,4 @@ Icon=openclonk
|
|||
Exec=openclonk
|
||||
Categories=Game;ActionGame;
|
||||
StartupNotify=true
|
||||
MimeType=x-scheme-handler/clonk;
|
||||
|
|
Loading…
Reference in New Issue