Configurer le logo du portail YunoHost

This commit is contained in:
Alexandre NOEL 2026-09-04 12:51:47 +02:00
commit 6e388019ee
3 changed files with 6 additions and 3 deletions

View file

@ -12,7 +12,7 @@ Lightweight animal shelter management
[![🌐 Official app website](https://img.shields.io/badge/Official_app_website-darkgreen?style=for-the-badge)](https://globinours.fr) [![🌐 Official app website](https://img.shields.io/badge/Official_app_website-darkgreen?style=for-the-badge)](https://globinours.fr)
[![App Demo](https://img.shields.io/badge/App_Demo-blue?style=for-the-badge)](https://demo.globinours.fr) [![App Demo](https://img.shields.io/badge/App_Demo-blue?style=for-the-badge)](https://demo.globinours.fr)
[![Version: 1.0.0-rc.3~ynh13](https://img.shields.io/badge/Version-1.0.0--rc.3~ynh13-rgb(18,138,11)?style=for-the-badge)](https://ci-apps.yunohost.org/ci/apps/globinours/) [![Version: 1.0.0-rc.3~ynh14](https://img.shields.io/badge/Version-1.0.0--rc.3~ynh14-rgb(18,138,11)?style=for-the-badge)](https://ci-apps.yunohost.org/ci/apps/globinours/)
<div align="center"> <div align="center">
<a href="https://apps.yunohost.org/app/globinours"><img height="100px" src="https://github.com/YunoHost/yunohost-artwork/raw/refs/heads/main/badges/neopossum-badges/badge_more_info_on_the_appstore.svg"/></a> <a href="https://apps.yunohost.org/app/globinours"><img height="100px" src="https://github.com/YunoHost/yunohost-artwork/raw/refs/heads/main/badges/neopossum-badges/badge_more_info_on_the_appstore.svg"/></a>

View file

@ -5,7 +5,7 @@ id = "globinours"
name = "Globinours" name = "Globinours"
description.en = "Lightweight animal shelter management" description.en = "Lightweight animal shelter management"
description.fr = "Gestion légère et complète pour refuges animaliers" description.fr = "Gestion légère et complète pour refuges animaliers"
version = "1.0.0-rc.3~ynh13" version = "1.0.0-rc.3~ynh14"
maintainers = ["OverSu"] maintainers = ["OverSu"]
[upstream] [upstream]

View file

@ -7,9 +7,12 @@
php_upload_max_filesize="250M" php_upload_max_filesize="250M"
install_yunohost_logo() { install_yunohost_logo() {
local logo="$install_dir/resources/branding/Logo_Globinours_maxi.png"
install -D -m 0644 \ install -D -m 0644 \
"$install_dir/resources/branding/Logo_Globinours_maxi.png" \ "$logo" \
"/usr/share/yunohost/applogos/$app.png" "/usr/share/yunohost/applogos/$app.png"
yunohost user permission update "$app.main" --logo "$logo"
} }
prepare_persistent_paths() { prepare_persistent_paths() {