[osx] new icons + create icon from the iconset
[vuplus_xbmc] / tools / darwin / Support / copyframeworks-osx.command
index 3cafadb..1635c56 100755 (executable)
@@ -66,7 +66,10 @@ mkdir -p "$TARGET_CONTENTS/Frameworks"
 
 echo "Package $TARGET_BUILD_DIR/XBMC"
 cp -f "$TARGET_BUILD_DIR/XBMC" "$TARGET_BINARY"
-cp -f "$SRCROOT/media/xbmc.icns" "$TARGET_CONTENTS/Resources/"
+
+echo "Creating icon"
+iconutil -c icns --output "$TARGET_CONTENTS/Resources/xbmc.icns" "$SRCROOT/tools/darwin/packaging/media/osx/icon.iconset"
+
 cp -f "$SRCROOT/xbmc/osx/Info.plist" "$TARGET_CONTENTS/"
 
 # Copy all of XBMC's dylib dependencies and rename their locations to inside the Framework