cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [3/3] cordova-lib git commit: change iconPath to be relative to the project root directory, only; ie not to the www sub-directory anymore
Date Wed, 25 Nov 2015 01:57:55 GMT
change iconPath to be relative to the project root directory, only; ie not to the www sub-directory
anymore


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

Branch: refs/heads/master
Commit: eefd874951e00d2f52366a468f9432850c421d2d
Parents: 12751cf
Author: David Barth <david.barth@canonical.com>
Authored: Mon Sep 7 17:38:27 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/eefd8749/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 5f7d08f..2050e08 100644
--- a/cordova-lib/src/cordova/metadata/ubuntu_parser.js
+++ b/cordova-lib/src/cordova/metadata/ubuntu_parser.js
@@ -100,7 +100,7 @@ ubuntu_parser.prototype.update_manifest = function() {
     var content = '[Desktop Entry]\nName=' + name + '\nExec=./cordova-ubuntu www/\nTerminal=false\nType=Application\nX-Ubuntu-Touch=true';
 
     if (this.config.doc.find('icon') && this.config.doc.find('icon').attrib.src)
{
-        var iconPath = path.join(this.path, 'www', 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;
         else


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


Mime
View raw message