Commit 9f78d19b authored by Tobias's avatar Tobias Committed by Felix Paul Kühne

add script for correctly sized Watch App icons. Fix Watch App icon sizes.

parent 276874f0
......@@ -4,7 +4,7 @@
"size" : "24x24",
"idiom" : "watch",
"scale" : "2x",
"filename" : "AppIcon24.png",
"filename" : "AppIcon24@2x.png",
"role" : "notificationCenter",
"subtype" : "38mm"
},
......@@ -12,21 +12,21 @@
"size" : "27.5x27.5",
"idiom" : "watch",
"scale" : "2x",
"filename" : "AppIcon27.5.png",
"filename" : "AppIcon27.5@2x.png",
"role" : "notificationCenter",
"subtype" : "42mm"
},
{
"size" : "29x29",
"idiom" : "watch",
"filename" : "AppIcon58.png",
"filename" : "AppIcon29@2x.png",
"role" : "companionSettings",
"scale" : "2x"
},
{
"size" : "29x29",
"idiom" : "watch",
"filename" : "AppIcon87.png",
"filename" : "AppIcon29@3x.png",
"role" : "companionSettings",
"scale" : "3x"
},
......@@ -34,7 +34,7 @@
"size" : "40x40",
"idiom" : "watch",
"scale" : "2x",
"filename" : "AppIcon40.png",
"filename" : "AppIcon40@2x.png",
"role" : "appLauncher",
"subtype" : "38mm"
},
......@@ -42,7 +42,7 @@
"size" : "44x44",
"idiom" : "watch",
"scale" : "2x",
"filename" : "AppIcon44.png",
"filename" : "AppIcon44@2x.png",
"role" : "longLook",
"subtype" : "42mm"
},
......@@ -50,7 +50,7 @@
"size" : "86x86",
"idiom" : "watch",
"scale" : "2x",
"filename" : "AppIcon86.png",
"filename" : "AppIcon86@2x.png",
"role" : "quickLook",
"subtype" : "38mm"
},
......@@ -58,17 +58,9 @@
"size" : "98x98",
"idiom" : "watch",
"scale" : "2x",
"filename" : "AppIcon98.png",
"filename" : "AppIcon98@2x.png",
"role" : "quickLook",
"subtype" : "42mm"
},
{
"size" : "44x44",
"idiom" : "watch",
"scale" : "2x",
"unassigned" : true,
"role" : "appLauncher",
"subtype" : "42mm"
}
],
"info" : {
......
#!/bin/bash
#############################################################################
# makeWatchIcons.sh
#
# Call with the original image path from which to generate the image.
# Saves all icons required for Apple Watch Apps to the current directory.
#############################################################################
# Copyright (c) 2015 VideoLAN. All rights reserved.
# $Id$
#
# Author: Tobias Conradi <videolan # tobias-conradi.de>
#
# Refer to the COPYING file of the official project for license.
#############################################################################
sips $1 --out AppIcon24@2x.png --resampleWidth 48
sips $1 --out AppIcon27.5@2x.png --resampleWidth 55
sips $1 --out AppIcon29@2x.png --resampleWidth 58
sips $1 --out AppIcon29@3x.png --resampleWidth 87
sips $1 --out AppIcon40@2x.png --resampleWidth 80
sips $1 --out AppIcon44@2x.png --resampleWidth 88
sips $1 --out AppIcon86@2x.png --resampleWidth 172
sips $1 --out AppIcon98@2x.png --resampleWidth 196
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment