Capacitor is one of the most complicated of all of the build targets as far as icons go, because not only do you need to place the icons in specific folders, you also need to register them in config files for both platforms (Android, iOS).
If you discover one file that is new or missing, please open an issue.
Icon Genie CLI
We highly recommend using the Icon Genie CLI, because it consumes a source icon and automatically clones, scales, minifies and places the icons in the appropriate directories for you. When needed, it also tells you what tags you’ll need to add to your /index.html file.
Quickly bootstrap the necessary images with Icon Genie CLI. For a complete list of options, please visit the Icon Genie CLI command list page.
$ icongenie generate -m capacitor -i /path/to/source/icon.png [-b /path/to/background.png]
Depending on what packager (electron-packager or electron-builder) you will be using, please see their docs on how to hook the icons.
Unless you are using the Icon Genie app extension, these are the files that you need to replace: