Skip to content

Commit

Permalink
don't add a leading www to the icon path when generating the desktop …
Browse files Browse the repository at this point in the history
…file. This closes #299
  • Loading branch information
David Barth authored and stevengill committed Nov 25, 2015
1 parent 19111ca commit debc6f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cordova-lib/src/cordova/metadata/ubuntu_parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ ubuntu_parser.prototype.update_manifest = function() {
if (this.config.doc.find('icon') && this.config.doc.find('icon').attrib.src) {
var iconPath = path.join(this.path, '../..', this.config.doc.find('icon').attrib.src);
if (fs.existsSync(iconPath))
content += '\nIcon=www/' + this.config.doc.find('icon').attrib.src;
content += '\nIcon=' + this.config.doc.find('icon').attrib.src;
else
return Q.reject(new Error('icon does not exist: ' + iconPath));
} else {
Expand Down

0 comments on commit debc6f2

Please sign in to comment.