summaryrefslogtreecommitdiff
path: root/MakeIcon.sh
diff options
context:
space:
mode:
Diffstat (limited to 'MakeIcon.sh')
-rwxr-xr-xMakeIcon.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/MakeIcon.sh b/MakeIcon.sh
new file mode 100755
index 0000000..04eb953
--- /dev/null
+++ b/MakeIcon.sh
@@ -0,0 +1,12 @@
+INK=/Applications/Inkscape.app/Contents/MacOS/inkscape
+
+$INK --export-filename=R2D2/Assets.xcassets/AppIcon.appiconset/AppIcon-16.png -w 16 -h 16 R2D2.svg
+$INK --export-filename=R2D2/Assets.xcassets/AppIcon.appiconset/AppIcon-16@2x.png -w 32 -h 32 R2D2.svg
+$INK --export-filename=R2D2/Assets.xcassets/AppIcon.appiconset/AppIcon-32.png -w 32 -h 32 R2D2.svg
+$INK --export-filename=R2D2/Assets.xcassets/AppIcon.appiconset/AppIcon-32@2x.png -w 64 -h 64 R2D2.svg
+$INK --export-filename=R2D2/Assets.xcassets/AppIcon.appiconset/AppIcon-128.png -w 128 -h 128 R2D2.svg
+$INK --export-filename=R2D2/Assets.xcassets/AppIcon.appiconset/AppIcon-128@2x.png -w 256 -h 256 R2D2.svg
+$INK --export-filename=R2D2/Assets.xcassets/AppIcon.appiconset/AppIcon-256.png -w 256 -h 256 R2D2.svg
+$INK --export-filename=R2D2/Assets.xcassets/AppIcon.appiconset/AppIcon-256@2x.png -w 512 -h 512 R2D2.svg
+$INK --export-filename=R2D2/Assets.xcassets/AppIcon.appiconset/AppIcon-512.png -w 512 -h 512 R2D2.svg
+$INK --export-filename=R2D2/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png -w 1024 -h 1024 R2D2.svg