Commit 11bc861c authored by Giovanni Panozzo's avatar Giovanni Panozzo Committed by GitHub

Merge pull request #1299 from FreeRDP/issue-485

Add support for application/x-remmina MIME type, fixes #485
parents 2a30fa19 8c9860a8
......@@ -50,6 +50,7 @@ tags
remmina-plugins/libvncserver/rfb/rfbconfig.h
remmina-plugins/telepathy/org.freedesktop.Telepathy.Client.Remmina.service
remmina/desktop/remmina.desktop
remmina/desktop/remmina-file.desktop
remmina/remmina
remmina/src/remmina
......
......@@ -83,9 +83,15 @@ set(REMMINA_ICON "remmina")
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/remmina.desktop.in
${CMAKE_CURRENT_BINARY_DIR}/remmina.desktop @ONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/remmina-file.desktop.in
${CMAKE_CURRENT_BINARY_DIR}/remmina-file.desktop @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/remmina.desktop
RENAME ${UNIQUE_APPNAME}.desktop
DESTINATION "${REMMINA_DATADIR}/applications")
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/remmina-file.desktop
DESTINATION "${REMMINA_DATADIR}/applications")
install(FILES appdata.xml
RENAME ${UNIQUE_APPNAME}.appdata.xml
DESTINATION "${REMMINA_DATADIR}/metainfo")
install(FILES remmina-mime.xml DESTINATION "${REMMINA_DATADIR}/mime/packages")
......@@ -76,4 +76,7 @@
<url type="homepage">https://www.remmina.org/</url>
<url type="bugtracker">https://github.com/FreeRDP/Remmina/issues</url>
<url type="help">https://github.com/FreeRDP/Remmina/wiki</url>
<mimetypes>
<mimetype>application/x-remmina</mimetype>
</mimetypes>
</component>
[Desktop Entry]
Name=Remmina Remote File
Comment=Access remote desktops with Remmina
Exec=@REMMINA_BINARY_PATH@ --connect %U
Icon=@REMMINA_ICON@
Terminal=false
Type=Application
StartupNotify=true
MimeType=application/x-remmina;
NoDisplay=true
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-remmina">
<sub-class-of type="text/plain"/>
<comment>Remote Desktop (Remmina) file</comment>
<glob pattern="*.remmina"/>
<icon name="remmina"/>
</mime-type>
</mime-info>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment