Skip to content
This repository was archived by the owner on Jan 14, 2022. It is now read-only.

Commit fe3862c

Browse files
committed
add src to the uri check, this is for the uploaded images path.
1 parent 9585b42 commit fe3862c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/platformBase.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@ function PlatformBase (id, name, packageName, baseDir, extendedCfg) {
154154
*/
155155
self.getEmbeddedIconUri = function(manifest, iconFromGetManifestIcons) {
156156
// in this case getManifestIcons() already returns the uri
157-
return iconFromGetManifestIcons.url || iconFromGetManifestIcons;
157+
// url doesn't seem to be in use in most of the new manifest information
158+
return iconFromGetManifestIcons.url || iconFromGetManifestIcons.src || iconFromGetManifestIcons;
158159
};
159160

160161
/**

0 commit comments

Comments
 (0)