Handle sms: URLs too

Handling those URLs works perfectly fine already, for transferring the
phone number and the body, we just need to register for it.
This commit is contained in:
Volker Krause 2019-04-10 18:36:26 +02:00
parent 0fa2bcd464
commit 834f9c3790
2 changed files with 9 additions and 1 deletions

View file

@ -10,4 +10,4 @@ target_link_libraries(kdeconnect-handler
)
install(TARGETS kdeconnect-handler ${INSTALL_TARGETS_DEFAULT_ARGS})
install(PROGRAMS org.kde.kdeconnect.telhandler.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install(PROGRAMS org.kde.kdeconnect.telhandler.desktop org.kde.kdeconnect.smshandler.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )

View file

@ -0,0 +1,8 @@
[Desktop Entry]
Name=KDE Connect SMS URL Handler
Exec=kdeconnect-handler %U
Icon=kdeconnect
Type=Application
NoDisplay=true
MimeType=x-scheme-handler/sms