mirror of
https://github.com/SwingTheVine/Wplace-BlueMarble.git
synced 2026-03-11 17:15:38 +00:00
Fixed compression badge bug; Shrunk BlueMarble Image
This commit is contained in:
parent
0b494b2979
commit
e9299c6b1b
2 changed files with 2 additions and 2 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -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"
|
||||
|
|
|
|||
BIN
dist/assets/Favicon.png
vendored
BIN
dist/assets/Favicon.png
vendored
Binary file not shown.
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 3.5 KiB |
Loading…
Reference in a new issue