Merge pull request #2 from nolith/macos-icon

Add MacOS app icon
pull/3/head
nostar 3 years ago committed by GitHub
commit 27284d9013
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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