Update manifest.json

This commit is contained in:
jarod5001 2022-04-23 15:16:36 +02:00 committed by GitHub
parent 57fc5b11ec
commit c78cb3b251
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,20 +1,18 @@
{ {
"name": "Example app", "name": "Simple-Hash-Generator",
"id": "example", "id": "Simple-Hash-Generator",
"packaging_format": 1, "packaging_format": 1,
"description": { "description": {
"en": "Explain in *a few (10~15) words* the purpose of the app or what it actually does (it is meant to give a rough idea to users browsing a catalog of 100+ apps)", "en": "A simple hash generator utilizing a collection of popular and useful hash functions",
"fr": "Expliquez en *quelques* (10~15) mots l'utilité de l'app ou ce qu'elle fait (l'objectif est de donner une idée grossière pour des utilisateurs qui naviguent dans un catalogue de 100+ apps)" "fr": "Un générateur de hachage simple utilisant une collection de fonctions de hachage populaires et utiles"
}, },
"version": "1.0~ynh1", "version": "1.0~ynh1",
"url": "https://example.com", "url": "https://prizz.github.io/Simple-Hash-Generator/",
"upstream": { "upstream": {
"license": "free", "license": "free",
"website": "https://example.com", "website": "https://prizz.github.io/Simple-Hash-Generator/",
"demo": "https://demo.example.com", "demo": "https://prizz.github.io/Simple-Hash-Generator/",
"admindoc": "https://yunohost.org/packaging_apps", "code": "https://github.com/pRizz/Simple-Hash-Generator"
"userdoc": "https://yunohost.org/apps",
"code": "https://some.forge.com/example/example"
}, },
"license": "free", "license": "free",
"maintainer": { "maintainer": {
@ -26,9 +24,7 @@
}, },
"multi_instance": true, "multi_instance": true,
"services": [ "services": [
"nginx", "nginx"
"php7.3-fpm",
"mysql"
], ],
"arguments": { "arguments": {
"install" : [ "install" : [
@ -39,35 +35,13 @@
{ {
"name": "path", "name": "path",
"type": "path", "type": "path",
"example": "/example", "example": "/hash",
"default": "/example" "default": "/hash"
}, },
{ {
"name": "is_public", "name": "is_public",
"type": "boolean", "type": "boolean",
"default": true "default": true
},
{
"name": "language",
"type": "string",
"ask": {
"en": "Choose the application language",
"fr": "Choisissez la langue de l'application"
},
"choices": ["fr", "en"],
"default": "fr"
},
{
"name": "admin",
"type": "user"
},
{
"name": "password",
"type": "password",
"help": {
"en": "Use the help field to add an information for the admin about this question.",
"fr": "Utilisez le champ aide pour ajouter une information à l'intention de l'administrateur à propos de cette question."
}
} }
] ]
} }