Fix manifest thanks to package_checker. Add 'type' and 'url' keys. Ortho, typo.
This commit is contained in:
parent
3954654cde
commit
550c0573ca
|
@ -2,9 +2,10 @@
|
||||||
"name": "YunoHost example app",
|
"name": "YunoHost example app",
|
||||||
"id": "ynhexample",
|
"id": "ynhexample",
|
||||||
"description": {
|
"description": {
|
||||||
"en": "Example package for Yunohost applications.",
|
"en": "Example package for YunoHost application.",
|
||||||
"fr": "Exemple de package d'application pour Yunohost."
|
"fr": "Exemple de package d’application pour YunoHost."
|
||||||
},
|
},
|
||||||
|
"url": "https://example.com",
|
||||||
"license": "free",
|
"license": "free",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
"name": "John doe",
|
"name": "John doe",
|
||||||
|
@ -21,14 +22,16 @@
|
||||||
"install" : [
|
"install" : [
|
||||||
{
|
{
|
||||||
"name": "domain",
|
"name": "domain",
|
||||||
|
"type": "domain",
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "Choose a domain for ynhexample",
|
"en": "Choose a domain name for ynhexample",
|
||||||
"fr": "Choisissez un domaine pour ynhexample"
|
"fr": "Choisissez un nom de domaine pour ynhexample"
|
||||||
},
|
},
|
||||||
"example": "example.com"
|
"example": "example.com"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "path",
|
"name": "path",
|
||||||
|
"type": "path",
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "Choose a path for ynhexample",
|
"en": "Choose a path for ynhexample",
|
||||||
"fr": "Choisissez un chemin pour ynhexample"
|
"fr": "Choisissez un chemin pour ynhexample"
|
||||||
|
@ -38,16 +41,17 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "admin",
|
"name": "admin",
|
||||||
|
"type": "user",
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "Choose an admin user",
|
"en": "Choose an admin user",
|
||||||
"fr": "Choisissez l'administrateur"
|
"fr": "Choisissez l’administrateur"
|
||||||
},
|
},
|
||||||
"example": "johndoe"
|
"example": "johndoe"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "is_public",
|
"name": "is_public",
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "Is it a public application ?",
|
"en": "Is it a public application?",
|
||||||
"fr": "Est-ce une application publique ?"
|
"fr": "Est-ce une application publique ?"
|
||||||
},
|
},
|
||||||
"choices": ["Yes", "No"],
|
"choices": ["Yes", "No"],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user