mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* migrate from yarn to pnpm * feature-reporter: migrate from webpack to vite * remove unnecessary deps * bump pnpm to 10.32.1 * fix sitemap and favicon generator tools in docker * review and workflow fixes * fix pw test * update screenshots * update screenshot and add default maxDiffPixels value
21 lines
539 B
Bash
Executable File
21 lines
539 B
Bash
Executable File
#!/bin/bash
|
|
|
|
master_url="${FAVICON_MASTER_URL:-$NEXT_PUBLIC_NETWORK_ICON}"
|
|
export MASTER_URL="$master_url"
|
|
|
|
cd ./deploy/tools/favicon-generator
|
|
node "$(pwd)/index.js"
|
|
if [ $? -ne 0 ]; then
|
|
cd ../../../
|
|
exit 1
|
|
else
|
|
cd ../../../
|
|
favicon_folder="./public/assets/favicon/"
|
|
|
|
echo "⏳ Replacing default favicons with freshly generated pack..."
|
|
if [ -d "$favicon_folder" ]; then
|
|
rm -r "$favicon_folder"
|
|
fi
|
|
mkdir -p "$favicon_folder"
|
|
cp -r ./deploy/tools/favicon-generator/output/* "$favicon_folder"
|
|
fi |