initial commit, 4.5 stable
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
This commit is contained in:
26
misc/scripts/make_icons.sh
Normal file
26
misc/scripts/make_icons.sh
Normal file
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Generate .ico, .icns and .zip set of icons for Steam
|
||||
|
||||
# Make icons with transparent backgrounds and all sizes
|
||||
for s in 16 24 32 48 64 128 256 512 1024; do
|
||||
convert -resize ${s}x$s -antialias \
|
||||
-background transparent \
|
||||
../../icon.svg icon$s.png
|
||||
done
|
||||
|
||||
# 16px tga file for library
|
||||
convert icon16.png icon16.tga
|
||||
|
||||
# zip for Linux
|
||||
zip godot-icons.zip icon*.png
|
||||
|
||||
# ico for Windows
|
||||
# Not including biggest ones or it blows up in size
|
||||
icotool -c -o godot-icon.ico icon{16,24,32,48,64,128,256}.png
|
||||
|
||||
# icns for macOS
|
||||
# Only some sizes: https://iconhandbook.co.uk/reference/chart/osx/
|
||||
png2icns godot-icon.icns icon{16,32,128,256,512,1024}.png
|
||||
|
||||
rm -f icon*.png
|
Reference in New Issue
Block a user