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:
commit
a70385275c
6 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
2
sources/extra_files/app/.gitignore
vendored
2
sources/extra_files/app/.gitignore
vendored
|
@ -1,2 +0,0 @@
|
|||
*~
|
||||
*.sw[op]
|
BIN
sources/logo_dark.png
Normal file
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
BIN
sources/logo_light.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
2
sources/patches/.gitignore
vendored
2
sources/patches/.gitignore
vendored
|
@ -1,2 +0,0 @@
|
|||
*~
|
||||
*.sw[op]
|
Loading…
Reference in a new issue