From 44bff730f3d8272c3f4707dc98fbe2320675e480 Mon Sep 17 00:00:00 2001 From: Benedek Nagy Date: Sun, 16 Jan 2022 19:14:43 +0000 Subject: [PATCH] shaarli: Add android app to description [sunil: Fix typo, indentation and add module comment] Signed-off-by: Sunil Mohan Adapa Reviewed-by: Sunil Mohan Adapa --- plinth/modules/shaarli/manifest.py | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/plinth/modules/shaarli/manifest.py b/plinth/modules/shaarli/manifest.py index b5f815796..a1c758ea0 100644 --- a/plinth/modules/shaarli/manifest.py +++ b/plinth/modules/shaarli/manifest.py @@ -1,11 +1,30 @@ # SPDX-License-Identifier: AGPL-3.0-or-later +""" +Application manifest for bind. +""" from django.utils.translation import gettext_lazy as _ +from plinth.clients import store_url + clients = [{ + 'name': + _('Shaarlier'), + 'platforms': [{ + 'type': 'store', + 'os': 'android', + 'store_name': 'google-play', + 'url': store_url('google-play', 'com.dimtion.shaarlier'), + }, { + 'type': 'store', + 'os': 'android', + 'store_name': 'f-droid', + 'url': store_url('f-droid', 'com.dimtion.shaarlier'), + }] +}, { 'name': _('Shaarli'), 'platforms': [{ 'type': 'web', - 'url': '/shaarli' + 'url': '/shaarli/' }] }]