1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dex_ynh.git synced 2024-09-03 18:26:22 +02:00

Include logo.png within the package

This commit is contained in:
tituspijean 2022-11-12 11:18:22 +01:00
parent 2c5ed3e692
commit 15a0fc88e6
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
6 changed files with 8 additions and 8 deletions

View file

@ -121,13 +121,15 @@ pushd "$final_path"
export GOCACHE="$final_path/go/.cache"
# Build server from source
make build 2>&1
# Setup a nice Yunohost logo
cp /usr/share/yunohost/admin/img/logo.08bab97e.png web/themes/light/logo.png
ynh_secure_remove --file="$final_path/go"
popd
ynh_remove_go
# Setup a nice Yunohost logo
cp ../sources/logo_dark.png "$final_path/web/themes/dark/logo.png"
cp ../sources/logo_light.png "$final_path/web/themes/light/logo.png"
#=================================================
# ADD A CONFIGURATION
#=================================================

View file

@ -103,13 +103,15 @@ pushd "$final_path"
export GOCACHE="$final_path/go/.cache"
# Build server from source
make build 2>&1
# Setup a nice Yunohost logo
cp /usr/share/yunohost/admin/img/logo.08bab97e.png web/themes/light/logo.png
ynh_secure_remove --file="$final_path/go"
popd
ynh_remove_go
# Setup a nice Yunohost logo
cp ../sources/logo_dark.png "$final_path/web/themes/dark/logo.png"
cp ../sources/logo_light.png "$final_path/web/themes/light/logo.png"
#=================================================
# UPDATE A CONFIG FILE
#=================================================

View file

@ -1,2 +0,0 @@
*~
*.sw[op]

BIN
sources/logo_dark.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

BIN
sources/logo_light.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View file

@ -1,2 +0,0 @@
*~
*.sw[op]