generated from MetaMask/metamask-module-template
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds support for a screenshots field in the registry. Snaps may have three screenshots, with a size of 960x540. Screenshots should be placed in `src/images/<snapId>`, i.e., `src/images/@organisation/snap-name`, and should be named `1.png`, `2.png`, `3.png` (or `.jpe?g`). They can then be added to the registry by adding `screenshots` to the metadata, with the path to each file as array items. ```json { "verifiedSnaps": { "npm:@organisation/snap-name": { "metadata": { "screenshots": [ "./images/@organisation/snap-name/1.png", "./images/@organisation/snap-name/2.png", "./images/@organisation/snap-name/3.png" ] } } } } ```
- Loading branch information
Showing
5 changed files
with
151 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters