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

Commit 68f6c31

Browse files
committed
download icons to be compatible with windows10 uwp pwas
1 parent e96dead commit 68f6c31

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/platformBase.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ function PlatformBase (id, name, packageName, baseDir, extendedCfg) {
307307
return self.resolveEmbeddedIcon(manifest, icon, rootDir, imagesDir);
308308
}
309309

310-
var iconPath = icon.url || icon;
310+
var iconPath = icon.url || icon.src || icon;
311311
var iconUrl = url.resolve(baseUrl, iconPath);
312312
var pathname = icon.fileName || url.parse(iconUrl).pathname;
313313
var iconFilePath = path.join(imagesDir, pathname);

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pwabuilder-lib",
3-
"version": "2.0.7",
3+
"version": "2.1.2",
44
"description": "PWA Builder Core Library",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)