From e93aedd406eb7485c3ff8ddc34fe48137c97e987 Mon Sep 17 00:00:00 2001 From: jakub-g Date: Fri, 12 Feb 2016 22:59:15 +0100 Subject: [PATCH] fix(resources): Always use / in paths written to config.xml fixes https://github.com/driftyco/ionic-cli/issues/625 fixes https://github.com/driftyco/ionic/issues/4212 --- lib/resources.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/resources.js b/lib/resources.js index a965702..7f57de9 100644 --- a/lib/resources.js +++ b/lib/resources.js @@ -743,6 +743,7 @@ function updateConfigData() { platformConfigData[image.nodeName] = []; } + image.src = image.src.replace(/\\/g, '/'); var node = getResourceConfigNode(platformConfigData, image.nodeName, image.src); if (!node) { node = { '$': {} };