Skip to content

Commit

Permalink
IOS: All icons need to have their transparencies removed to upload
Browse files Browse the repository at this point in the history
  • Loading branch information
mgorges committed Feb 21, 2019
1 parent e94b5d7 commit 94b50fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions targets/ios/build-binary
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ icondir="$cmakedir/Images.xcassets/AppIcon.appiconset"
mkdir -p "$icondir"
for file in `ls $SYS_PREFIXROOT/build/$SYS_APPNAME/artwork-*.png`; do
dfile=`basename $file`
cp "$file" "$icondir/Icon${dfile:8:8}";
convert "$file" -background white -alpha off "$icondir/Icon${dfile:8:8}";
done
convert -flatten "$SYS_PREFIXROOT/build/$SYS_APPNAME/artwork-1024.png" "$icondir/AppIcon.png"
convert "$SYS_PREFIXROOT/build/$SYS_APPNAME/artwork-1024.png" -background white -alpha off "$icondir/AppIcon.png"
cp "$SYS_PREFIXROOT/build/$SYS_APPNAME/"Default*.png "$cmakedir"
cp $srcdir/Assets_Contents.json "$cmakedir/Images.xcassets/Contents.json"
cp $srcdir/Images_Contents.json "$icondir/Contents.json"
Expand Down

0 comments on commit 94b50fa

Please sign in to comment.