Skip to content

Commit

Permalink
review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
isstuev committed Oct 29, 2024
1 parent a772e5d commit 6626275
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ COPY --from=builder /app/public ./public
COPY --from=builder /app/package.json ./package.json
COPY --from=builder /app/deploy/tools/envs-validator/index.js ./envs-validator.js
COPY --from=builder /app/deploy/tools/feature-reporter/index.js ./feature-reporter.js
# COPY /app/deploy/tools/favicon-generator/index.js ./favicon-generator.js

# Copy scripts
## Entripoint
Expand Down
5 changes: 3 additions & 2 deletions deploy/tools/favicon-generator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ async function generateFavicons() {
appName: 'Blockscout',
icons: {
android: true,
appleIcon: true,
appleIcon: {
background: 'transparent',
},
appleStartup: false,
favicons: true,
windows: false,
Expand Down Expand Up @@ -60,7 +62,6 @@ async function generateFavicons() {
console.log('Favicons generated successfully!');
} catch (faviconError) {
console.warn('Error generating favicons:', faviconError);
console.warn('Skipping favicon generation. Please check your sharp installation.');
}
} catch (error) {
console.error('Error in favicon generation process:', error);
Expand Down
Binary file modified public/assets/favicon/apple-touch-icon-180x180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion tools/scripts/favicon-generator.dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ fi

dotenv \
-v MASTER_URL=$master_url \
-e $secrets_file \
-- bash -c 'cd ./deploy/tools/favicon-generator && node "$(dirname "$0")/index.js"'

if [ -d "$favicon_folder" ]; then
Expand Down

0 comments on commit 6626275

Please sign in to comment.