generate app icons for iPad Pro

This commit is contained in:
Sami Samhuri 2016-01-23 16:06:18 -08:00
parent 47222b0764
commit b0ce70560a
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ def scale_retina(points, scale, in_file, out_dir)
end end
raw_size, in_file, out_dir = ARGV raw_size, in_file, out_dir = ARGV
size = raw_size.to_i size = raw_size.to_f
unless size > 0 unless size > 0
puts "Invalid size: #{raw_size.inspect}" puts "Invalid size: #{raw_size.inspect}"
usage usage

View file

@ -19,7 +19,7 @@ if [[ ! -d "$OUT_DIR" ]]; then
exit 2 exit 2
fi fi
for SIZE in 29 40 60 76; do for SIZE in 29 40 60 76 83.5; do
echo "* Generating app icons at $SIZE points" echo "* Generating app icons at $SIZE points"
retina-scale $SIZE "$IN_FILE" "$OUT_DIR" retina-scale $SIZE "$IN_FILE" "$OUT_DIR"
done done