Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icons generated by "manifestMaskable" cannot be configured #457

Open
jahed opened this issue Sep 1, 2024 · 0 comments
Open

Icons generated by "manifestMaskable" cannot be configured #457

jahed opened this issue Sep 1, 2024 · 0 comments

Comments

@jahed
Copy link

jahed commented Sep 1, 2024

When manifestMaskable is set, all maskable icons are generated. They should be configurable like all of the other icons are.

// Generate android maskable images from a different source set
if (
this.options.manifestMaskable &&
typeof this.options.manifestMaskable !== "boolean"
) {
const maskableSourceset = await sourceImages(
this.options.manifestMaskable,
);
const maskableIcons = await Promise.all(
ICONS_OPTIONS_MASKABLE.map((iconOption) =>
createFavicon(maskableSourceset, iconOption.name, iconOption),
),
);
icons = [...icons, ...maskableIcons];
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant