data: List compatible form-factors

This will allow the app to be available in Phosh and PureOS Store.
This commit is contained in:
Adrien Plazas 2020-11-06 07:56:24 +01:00
parent 944bc93da5
commit 0101aba10e
2 changed files with 14 additions and 0 deletions

View file

@ -11,3 +11,5 @@ Keywords=Gnome;GTK;Verification;2FA;Authentication;OTP;TOTP;
Icon=@icon@
StartupNotify=true
MimeType=x-scheme-handler/otpauth
# Translators: Do NOT translate or transliterate this text (these are enum types)!
X-Purism-FormFactor=Workstation;Mobile;

View file

@ -204,6 +204,14 @@
<kudo>ModernToolkit</kudo>
<kudo>HiDpiIcon</kudo>
</kudos>
<recommends>
<control>keyboard</control>
<control>pointing</control>
<control>touch</control>
</recommends>
<requires>
<display_length compare="ge">360</display_length>
</requires>
<provides>
<id>com.github.bilelmoussaoui.Authenticator</id>
</provides>
@ -211,4 +219,8 @@
<update_contact>bilal.elmoussaoui@gnome.org</update_contact>
<translation type="gettext">@gettext-package@</translation>
<launchable type="desktop-id">@app-id@.desktop</launchable>
<custom>
<value key="Purism::form_factor">workstation</value>
<value key="Purism::form_factor">mobile</value>
</custom>
</component>