Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Default Icon is now copied into platform_www.
Fixes issue with build failing when no icon tag is present in config.xml

Closes #189
Closes #190
  • Loading branch information
timwindsor authored and bryanhiggins committed Aug 25, 2015
1 parent 8179222 commit e489a527bcc9afefe8f76fc9666c435eafd5885e
Showing 1 changed file with 3 additions and 2 deletions.
@@ -15,6 +15,7 @@
*/
/*jshint sub:true*/
var fs = require("fs"),
path = require("path"),
util = require('util'),
xml2js = require('xml2js'),
packagerUtils = require('./packager-utils'),
@@ -271,8 +272,8 @@ function processIconData(data, widgetConfig, session) {
//
var default_icon_filename = "default-icon.png",
default_icon_src = session.conf.DEFAULT_ICON,
default_icon_dst = session.sourceDir;

default_icon_dst = path.join(session.conf.PROJECT_ROOT, 'platform_www');
processSplashScreenIconSrc(data, widgetConfig, "icon");

if (!widgetConfig.icon) {

0 comments on commit e489a52

Please sign in to comment.