Skip to content

Commit

Permalink
Fix flatpak build (#196)
Browse files Browse the repository at this point in the history
* Replace deprecated medium display length with a number

* Add information about provided mime-type and D-Bus service
  • Loading branch information
tehcneko committed Feb 19, 2024
1 parent c3224c0 commit 1a5bfaf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/xdg/io.github.tdesktop_x64.TDesktop.metainfo.xml
Expand Up @@ -32,12 +32,14 @@
<keyword>im</keyword>
</keywords>
<requires>
<display_length compare="ge">medium</display_length>
<!-- windowMinHeight from Telegram/SourceFiles/window/window.style -->
<display_length compare="ge">480</display_length>
<!-- on-screen keyboards are too big for current minimal display height -->
<control>keyboard</control>
<internet>always</internet>
</requires>
<supports>
<control>pointing</control>
<control>keyboard</control>
<control>touch</control>
</supports>
<content_rating type="oars-1.1">
Expand Down Expand Up @@ -73,5 +75,7 @@
<launchable type="desktop-id">io.github.tdesktop_x64.TDesktop.desktop</launchable>
<provides>
<binary>telegram-desktop</binary>
<dbus type="session">io.github.tdesktop_x64.TDesktop</dbus>
<mediatype>x-scheme-handler/tg</mediatype>
</provides>
</component>

0 comments on commit 1a5bfaf

Please sign in to comment.