You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2014/04/22 23:45:06 UTC

[12/14] mac commit: Adding better default icons and copy the project icons during build phase

Adding better default icons and copy the project icons during build phase

Signed-off-by: Shazron Abdullah <sh...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cordova-osx/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-osx/commit/edc253bd
Tree: http://git-wip-us.apache.org/repos/asf/cordova-osx/tree/edc253bd
Diff: http://git-wip-us.apache.org/repos/asf/cordova-osx/diff/edc253bd

Branch: refs/heads/master
Commit: edc253bde3d3b1272e1ac721ec3606e59b12a32a
Parents: 18ecff5
Author: Tobias Bocanegra <tr...@adobe.com>
Authored: Fri Apr 18 16:53:23 2014 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Tue Apr 22 14:44:25 2014 -0700

----------------------------------------------------------------------
 bin/replaces                                    |  28 -------------------
 .../AppIcon.appiconset/Contents.json            |  27 +++++++++++-------
 .../AppIcon.appiconset/cordova_bot_128x128.png  | Bin 19350 -> 0 bytes
 .../AppIcon.appiconset/cordova_bot_256x256.png  | Bin 46182 -> 0 bytes
 .../AppIcon.appiconset/icon-128x128.png         | Bin 0 -> 11401 bytes
 .../AppIcon.appiconset/icon-16x16.png           | Bin 0 -> 1699 bytes
 .../AppIcon.appiconset/icon-256x256.png         | Bin 0 -> 27408 bytes
 .../AppIcon.appiconset/icon-32x32.png           | Bin 0 -> 2843 bytes
 .../AppIcon.appiconset/icon-512x512.png         | Bin 0 -> 39830 bytes
 .../AppIcon.appiconset/icon-64x64.png           | Bin 0 -> 5463 bytes
 10 files changed, 17 insertions(+), 38 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-osx/blob/edc253bd/bin/replaces
----------------------------------------------------------------------
diff --git a/bin/replaces b/bin/replaces
deleted file mode 100755
index 09f8fe9..0000000
--- a/bin/replaces
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-# 
-# http://www.apache.org/licenses/LICENSE-2.0
-# 
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# 
-# USAGE
-#   ./replaces path from to
-#
-# EXAMPLE
-#   ./replaces ./foo.txt FOO BAR
-#
-sed "s/$2/$3/g" "$1" > tmpFile ; mv tmpFile "$1"

http://git-wip-us.apache.org/repos/asf/cordova-osx/blob/edc253bd/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/Contents.json
----------------------------------------------------------------------
diff --git a/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/Contents.json b/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/Contents.json
index b0a0761..ec0bd42 100644
--- a/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/Contents.json
+++ b/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/Contents.json
@@ -1,50 +1,57 @@
 {
   "images" : [
     {
-      "idiom" : "mac",
       "size" : "16x16",
+      "idiom" : "mac",
+      "filename" : "icon-16x16.png",
       "scale" : "1x"
     },
     {
-      "idiom" : "mac",
       "size" : "16x16",
+      "idiom" : "mac",
+      "filename" : "icon-32x32.png",
       "scale" : "2x"
     },
     {
-      "idiom" : "mac",
       "size" : "32x32",
+      "idiom" : "mac",
+      "filename" : "icon-32x32.png",
       "scale" : "1x"
     },
     {
-      "idiom" : "mac",
       "size" : "32x32",
+      "idiom" : "mac",
+      "filename" : "icon-64x64.png",
       "scale" : "2x"
     },
     {
       "size" : "128x128",
       "idiom" : "mac",
-      "filename" : "cordova_bot_128x128.png",
+      "filename" : "icon-128x128.png",
       "scale" : "1x"
     },
     {
       "size" : "128x128",
       "idiom" : "mac",
-      "filename" : "cordova_bot_256x256.png",
+      "filename" : "icon-256x256.png",
       "scale" : "2x"
     },
     {
-      "idiom" : "mac",
       "size" : "256x256",
+      "idiom" : "mac",
+      "filename" : "icon-256x256.png",
       "scale" : "1x"
     },
     {
-      "idiom" : "mac",
       "size" : "256x256",
+      "idiom" : "mac",
+      "filename" : "icon-512x512.png",
       "scale" : "2x"
     },
     {
-      "idiom" : "mac",
       "size" : "512x512",
+      "idiom" : "mac",
+      "filename" : "icon-512x512.png",
       "scale" : "1x"
     },
     {
@@ -57,4 +64,4 @@
     "version" : 1,
     "author" : "xcode"
   }
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/cordova-osx/blob/edc253bd/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/cordova_bot_128x128.png
----------------------------------------------------------------------
diff --git a/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/cordova_bot_128x128.png b/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/cordova_bot_128x128.png
deleted file mode 100644
index 8a006a5..0000000
Binary files a/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/cordova_bot_128x128.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/cordova-osx/blob/edc253bd/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/cordova_bot_256x256.png
----------------------------------------------------------------------
diff --git a/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/cordova_bot_256x256.png b/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/cordova_bot_256x256.png
deleted file mode 100644
index ed19d0a..0000000
Binary files a/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/cordova_bot_256x256.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/cordova-osx/blob/edc253bd/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/icon-128x128.png
----------------------------------------------------------------------
diff --git a/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/icon-128x128.png b/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/icon-128x128.png
new file mode 100644
index 0000000..3516df3
Binary files /dev/null and b/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/icon-128x128.png differ

http://git-wip-us.apache.org/repos/asf/cordova-osx/blob/edc253bd/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/icon-16x16.png
----------------------------------------------------------------------
diff --git a/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/icon-16x16.png b/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/icon-16x16.png
new file mode 100644
index 0000000..54e19c5
Binary files /dev/null and b/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/icon-16x16.png differ

http://git-wip-us.apache.org/repos/asf/cordova-osx/blob/edc253bd/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/icon-256x256.png
----------------------------------------------------------------------
diff --git a/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/icon-256x256.png b/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/icon-256x256.png
new file mode 100644
index 0000000..e1cd0e6
Binary files /dev/null and b/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/icon-256x256.png differ

http://git-wip-us.apache.org/repos/asf/cordova-osx/blob/edc253bd/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/icon-32x32.png
----------------------------------------------------------------------
diff --git a/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/icon-32x32.png b/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/icon-32x32.png
new file mode 100644
index 0000000..734fffc
Binary files /dev/null and b/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/icon-32x32.png differ

http://git-wip-us.apache.org/repos/asf/cordova-osx/blob/edc253bd/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/icon-512x512.png
----------------------------------------------------------------------
diff --git a/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/icon-512x512.png b/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/icon-512x512.png
new file mode 100644
index 0000000..c9465f3
Binary files /dev/null and b/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/icon-512x512.png differ

http://git-wip-us.apache.org/repos/asf/cordova-osx/blob/edc253bd/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/icon-64x64.png
----------------------------------------------------------------------
diff --git a/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/icon-64x64.png b/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/icon-64x64.png
new file mode 100644
index 0000000..03b3849
Binary files /dev/null and b/templates/project/__CDV_PRODUCT_NAME__/Images.xcassets/AppIcon.appiconset/icon-64x64.png differ