Configurer le logo du portail YunoHost
This commit is contained in:
parent
9c7253a837
commit
6e388019ee
3 changed files with 6 additions and 3 deletions
|
|
@ -12,7 +12,7 @@ Lightweight animal shelter management
|
||||||
|
|
||||||
[](https://globinours.fr)
|
[](https://globinours.fr)
|
||||||
[](https://demo.globinours.fr)
|
[](https://demo.globinours.fr)
|
||||||
[?style=for-the-badge)](https://ci-apps.yunohost.org/ci/apps/globinours/)
|
[?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>
|
||||||
|
|
|
||||||
|
|
@ -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]
|
||||||
|
|
|
||||||
|
|
@ -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() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue