1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kavita_ynh.git synced 2024-09-03 19:26:30 +02:00

Merge pull request #33 from YunoHost-Apps/testing

Testing
This commit is contained in:
OniriCorpe 2023-12-12 14:08:29 +01:00 committed by GitHub
commit 574522d4c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 14 additions and 11 deletions

View file

@ -31,7 +31,7 @@ Kavita is a fast, feature rich, cross platform reading server. Built with a focu
- OPDS-PS Support - OPDS-PS Support
**Shipped version:** 0.7.11.1~ynh1 **Shipped version:** 0.7.11.2~ynh1
**Demo:** https://demo.kavitareader.com/ **Demo:** https://demo.kavitareader.com/

View file

@ -30,7 +30,7 @@ Kavita est un serveur de lecture multiplateforme rapide et riche en fonctionnali
- Analyses de bibliothèque rapides et efficaces. N'effectuez pas d'E/S si le fichier sous-jacent n'a pas changé. - Analyses de bibliothèque rapides et efficaces. N'effectuez pas d'E/S si le fichier sous-jacent n'a pas changé.
- Prise en charge OPDS-PS - Prise en charge OPDS-PS
**Version incluse :** 0.7.11.1~ynh1 **Version incluse :** 0.7.11.2~ynh1
**Démo :** https://demo.kavitareader.com/ **Démo :** https://demo.kavitareader.com/

View file

@ -5,7 +5,7 @@ name = "Kavita"
description.en = "Media server for your comics, manga and books" description.en = "Media server for your comics, manga and books"
description.fr = "Serveur multimédia pour vos bandes dessinées, mangas et livres" description.fr = "Serveur multimédia pour vos bandes dessinées, mangas et livres"
version = "0.7.11.1~ynh1" version = "0.7.11.2~ynh1"
maintainers = ["eric_G"] maintainers = ["eric_G"]
@ -20,8 +20,11 @@ code = "https://github.com/Kareadita/Kavita"
yunohost = ">= 11.2" yunohost = ">= 11.2"
architectures = ["amd64", "arm64", "armhf"] architectures = ["amd64", "arm64", "armhf"]
multi_instance = true multi_instance = true
ldap = false ldap = false
sso = false sso = false
disk = "50M" disk = "50M"
ram.build = "300M" ram.build = "300M"
ram.runtime = "50M" ram.runtime = "50M"
@ -43,12 +46,12 @@ ram.runtime = "50M"
[resources.sources] [resources.sources]
[resources.sources.main] [resources.sources.main]
in_subdir = true in_subdir = true
amd64.url = "https://github.com/Kareadita/Kavita/releases/download/v0.7.11.1/kavita-linux-x64.tar.gz" amd64.url = "https://github.com/Kareadita/Kavita/releases/download/v0.7.11.2/kavita-linux-x64.tar.gz"
amd64.sha256 = "43d817ab75d4de3c791eea04e20e2f3f6c04a9cac9ca55b69b49e3377f9b3655" amd64.sha256 = "acd4e0b945694a259215a9e1d90cc6b92f3a053ff66cd487f1388edcb77ebe6e"
arm64.url = "https://github.com/Kareadita/Kavita/releases/download/v0.7.11.1/kavita-linux-arm64.tar.gz" arm64.url = "https://github.com/Kareadita/Kavita/releases/download/v0.7.11.2/kavita-linux-arm64.tar.gz"
arm64.sha256 = "9453104ecbbdfd64b2ebc8ca8616e5c4a1c199ffa56d1a03030d2e40acdd58fe" arm64.sha256 = "755911b2360a81796ffb190b9d61e6d7c978c41cba701b2e09809d1c2baa92d5"
armhf.url = "https://github.com/Kareadita/Kavita/releases/download/v0.7.11.1/kavita-linux-arm.tar.gz" armhf.url = "https://github.com/Kareadita/Kavita/releases/download/v0.7.11.2/kavita-linux-arm.tar.gz"
armhf.sha256 = "9c970943e1ce751f89ce18f4fccf3efa8b77e8875f222b815a257837713feb3f" armhf.sha256 = "62dcc514f3a2fc40459dc06833f3e33aae1ec4aee544e5a2949b0d699b3efbf9"
# https://yunohost.org/fr/packaging_apps_resources#regarding-autoupdate # https://yunohost.org/fr/packaging_apps_resources#regarding-autoupdate
autoupdate.strategy = "latest_github_release" autoupdate.strategy = "latest_github_release"

View file

@ -44,7 +44,7 @@ ynh_app_setting_set --app="$app" --key=key --value="$key"
url_path=${path#/} url_path=${path#/}
ynh_app_setting_set --app="$app" --key=url_path --value="$url_path" ynh_app_setting_set --app="$app" --key=url_path --value="$url_path"
ynh_add_config --template="../conf/appsettings.json.example" --destination="$install_dir/config/appsettings.json" ynh_add_config --template="appsettings.json.example" --destination="$install_dir/config/appsettings.json"
chmod 600 "$install_dir/config/appsettings.json" chmod 600 "$install_dir/config/appsettings.json"
chown "$app":"$app" "$install_dir/config/appsettings.json" chown "$app":"$app" "$install_dir/config/appsettings.json"

View file

@ -60,7 +60,7 @@ if [ -z "$url_path" ]; then
ynh_app_setting_set --app="$app" --key=url_path --value="$url_path" ynh_app_setting_set --app="$app" --key=url_path --value="$url_path"
fi fi
ynh_add_config --template="../conf/appsettings.json.example" --destination="$install_dir/config/appsettings.json" ynh_add_config --template="appsettings.json.example" --destination="$install_dir/config/appsettings.json"
chmod 600 "$install_dir/config/appsettings.json" chmod 600 "$install_dir/config/appsettings.json"
chown "$app":"$app" "$install_dir/config/appsettings.json" chown "$app":"$app" "$install_dir/config/appsettings.json"