Skip to content

Commit

Permalink
Add favicon to build script
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmartel committed Feb 5, 2025
1 parent e01af3d commit 9fba693
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions resources/scripts/prep-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,16 @@ if [ "$(grep -c "'../../decoders/" $fileName)" -eq 4 ]
then
info "Move to local decoders"
# change path to decoders
a4="'..\/..\/decoders\/"
b4="'.\/decoders\/"
a3="'..\/..\/decoders\/"
b3="'.\/decoders\/"
sed -i "s/${a3}/${b3}/g" $fileName
fi

if [ "$(grep -c "'../favicon.ico" $fileName)" -eq 1 ]
then
info "Move to local favicon"
# change path to favicon
a4="'..\/favicon.ico"
b4="'.\/favicon.ico"
sed -i "s/${a4}/${b4}/g" $fileName
fi

0 comments on commit 9fba693

Please sign in to comment.