FIxes WN-1459
When npx @capacitor/assets generate --pwa is run with an angular or vue project it looks in src/assets/assets folder but the default path for angular and vue assets is just src/assets.
This also replaces any icons in the manifest.webmanifest file (it would previously only change an icon if the filename existed already in the file.
Note: also reduced the linting errors
This should also fix #568 which is a side effect of not choosing the path correctly in an Angular or Vue project.
Also fixes #520 which is caused by it checking for icons by their filename rather than their size.
FIxes WN-1459 When
npx @capacitor/assets generate --pwa
is run with an angular or vue project it looks insrc/assets/assets
folder but the default path for angular and vue assets is justsrc/assets
.This also replaces any icons in the
manifest.webmanifest
file (it would previously only change an icon if the filename existed already in the file.Note: also reduced the linting errors
This should also fix #568 which is a side effect of not choosing the path correctly in an Angular or Vue project. Also fixes #520 which is caused by it checking for icons by their filename rather than their size.