feat: add screenshots to PWA manifest

This commit is contained in:
Tim 2023-12-07 21:27:48 +01:00
parent 9893bb8897
commit 6e556bbf8c
3 changed files with 16 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
screenshots/board_wide.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB

View file

@ -244,6 +244,22 @@ module.exports = (env, argv) => ({
sizes: [256], sizes: [256],
} }
], ],
screenshots : [
{
src: `${COMMIT_HASH}/screenshots/board_wide.webp`,
sizes: '1440x900',
type: 'image/webp',
form_factor: 'wide',
label: 'Homescreen of Stremio'
},
{
src: `${COMMIT_HASH}/screenshots/board_narrow.webp`,
sizes: '414x896',
type: 'image/webp',
form_factor: 'narrow',
label: 'Homescreen of Stremio'
}
],
fingerprints: false, fingerprints: false,
ios: true ios: true
}), }),