cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [1/3] cordova-lib git commit: don't add a leading www to the icon path when generating the desktop file. This closes #299
Date Wed, 25 Nov 2015 01:57:53 GMT
Repository: cordova-lib
Updated Branches:
  refs/heads/master 12751cfa9 -> debc6f22c


don't add a leading www to the icon path when generating the desktop file. This closes #299


Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/debc6f22
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/debc6f22
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/debc6f22

Branch: refs/heads/master
Commit: debc6f22c15820191ca43bed03fa1d48ec773773
Parents: 19111ca
Author: David Barth <david.barth@canonical.com>
Authored: Fri Oct 2 15:38:36 2015 +0200
Committer: Steve Gill <stevengill97@gmail.com>
Committed: Tue Nov 24 17:45:25 2015 -0800

----------------------------------------------------------------------
 cordova-lib/src/cordova/metadata/ubuntu_parser.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/debc6f22/cordova-lib/src/cordova/metadata/ubuntu_parser.js
----------------------------------------------------------------------
diff --git a/cordova-lib/src/cordova/metadata/ubuntu_parser.js b/cordova-lib/src/cordova/metadata/ubuntu_parser.js
index 034c998..429f144 100644
--- a/cordova-lib/src/cordova/metadata/ubuntu_parser.js
+++ b/cordova-lib/src/cordova/metadata/ubuntu_parser.js
@@ -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 {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message