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

Merge pull request #30 from YunoHost-Apps/favicon

Include logos within the package
This commit is contained in:
Limezy 2022-11-12 22:02:21 +07:00 committed by GitHub
commit a70385275c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 8 deletions

View file

@ -121,13 +121,15 @@ pushd "$final_path"
export GOCACHE="$final_path/go/.cache" export GOCACHE="$final_path/go/.cache"
# Build server from source # Build server from source
make build 2>&1 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" ynh_secure_remove --file="$final_path/go"
popd popd
ynh_remove_go 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 # ADD A CONFIGURATION
#================================================= #=================================================

View file

@ -103,13 +103,15 @@ pushd "$final_path"
export GOCACHE="$final_path/go/.cache" export GOCACHE="$final_path/go/.cache"
# Build server from source # Build server from source
make build 2>&1 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" ynh_secure_remove --file="$final_path/go"
popd popd
ynh_remove_go 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 # 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]