Add MacOS app icon

pull/2/head
Alessio Caiazza 3 years ago
parent 303aeae633
commit a3ae9158aa

@ -21,6 +21,7 @@ DEFINES += VERSION_NUMBER=\"\\\"$${VERSION_BUILD}\\\"\"
DEFINES += QT_DEPRECATED_WARNINGS
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
#DEFINES += USE_FLITE
ICON = images/droidstar.icns
SOURCES += \
CRCenc.cpp \

Binary file not shown.

@ -0,0 +1,22 @@
#!/bin/sh
# This scripts regenerate the iconset for the MacOS app
icon=droidstar.png
iconset=droidstar.iconset
rm -rf "$iconset"
mkdir "$iconset"
sips -z 16 16 "$icon" --out "$iconset"/icon_16x16.png
sips -z 32 32 "$icon" --out "$iconset"/icon_16x16@2x.png
sips -z 32 32 "$icon" --out "$iconset"/icon_32x32.png
sips -z 64 64 "$icon" --out "$iconset"/icon_32x32@2x.png
sips -z 128 128 "$icon" --out "$iconset"/icon_128x128.png
sips -z 256 256 "$icon" --out "$iconset"/icon_128x128@2x.png
sips -z 256 256 "$icon" --out "$iconset"/icon_256x256.png
sips -z 512 512 "$icon" --out "$iconset"/icon_256x256@2x.png
sips -z 512 512 "$icon" --out "$iconset"/icon_512x512.png
sips -z 1024 1024 "$icon" --out "$iconset"/icon_512x512@2.png
iconutil -c icns "$iconset"
Loading…
Cancel
Save