Fixed compression badge bug; Shrunk BlueMarble Image

This commit is contained in:
SwingTheVine 2025-07-27 11:27:39 -04:00
parent 0b494b2979
commit e9299c6b1b
2 changed files with 2 additions and 2 deletions

View file

@ -54,8 +54,8 @@ jobs:
- name: Update compression badge
run: |
dist_size=$(find src -name "*.js" -exec cat {} + | wc -c)
src_size=$(find src -name "*.js" -exec cat {} + | wc -c)
dist_size=$(find dist -type f -exec cat {} + | wc -c)
src_size=$(find src dist/assets -type f -exec cat {} + | wc -c)
percentage=$(awk "BEGIN {printf \"%.2f\", ($dist_size * 100) / $src_size}")
echo "Compression: $percentage"
badge_url="https://img.shields.io/badge/Compression-${percentage}%25-blue"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB