index.js
function copyIcon() {
		var dest = path.join(process.env.PWD, 'res');

		// Make sure the destination exists
		mkdir(dest);

		return pify(fs.copy.bind(fs), Promise)(src, path.join(dest, 'icon.' + mime.extension(mimetype)));
	}
function copyIcon() {
		var dest = path.join(process.env.PWD, 'res');

		// Make sure the destination exists
		mkdir(dest);

		return pify(fs.copy.bind(fs), Promise)(src, path.join(dest, 'icon.' + mime.extension(mimetype)));
	}
function copyIcon ( ) { var dest = path . join ( process . env . PWD , 'res' ) ; // Make sure the destination exists mkdir ( dest ) ; return pify ( fs . copy . bind ( fs ) , Promise ) ( src , path . join ( dest , 'icon.' + mime . extension ( mimetype ) ) ) ; }
Copy the icon to the res subdirectory of the cordova build.
Copy the icon to the res subdirectory of the cordova build .