diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-05-26 15:19:24 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-05-26 15:43:14 +0800 |
commit | d8c94fca75ca2aed11387c0b1d4c6064bead447e (patch) | |
tree | 55469f52c02d8e71719c6fc289b8d15671902eac /gulpfile.js | |
parent | 8f9a230d8d2c8351cd325bddf3c2ca04f06c9619 (diff) | |
download | tangerine-wallet-browser-d8c94fca75ca2aed11387c0b1d4c6064bead447e.tar tangerine-wallet-browser-d8c94fca75ca2aed11387c0b1d4c6064bead447e.tar.gz tangerine-wallet-browser-d8c94fca75ca2aed11387c0b1d4c6064bead447e.tar.bz2 tangerine-wallet-browser-d8c94fca75ca2aed11387c0b1d4c6064bead447e.tar.lz tangerine-wallet-browser-d8c94fca75ca2aed11387c0b1d4c6064bead447e.tar.xz tangerine-wallet-browser-d8c94fca75ca2aed11387c0b1d4c6064bead447e.tar.zst tangerine-wallet-browser-d8c94fca75ca2aed11387c0b1d4c6064bead447e.zip |
Add address image map to icon factory
Deriving from the new address image map repository I've added here:
https://github.com/MetaMask/ethereum-contract-icons
With this PR, images for addresses added to that repository will be shown instead of jazzicons in MetaMask.
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gulpfile.js b/gulpfile.js index 9f4a606be..5bba1b9b3 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -52,6 +52,15 @@ gulp.task('copy:images', copyTask({ './dist/opera/images', ], })) +gulp.task('copy:contractImages', copyTask({ + source: './node_modules/ethereum-contract-icons/images/', + destinations: [ + './dist/firefox/images/contract', + './dist/chrome/images/contract', + './dist/edge/images/contract', + './dist/opera/images/contract', + ], +})) gulp.task('copy:fonts', copyTask({ source: './app/fonts/', destinations: [ @@ -127,6 +136,7 @@ const staticFiles = [ ] var copyStrings = staticFiles.map(staticFile => `copy:${staticFile}`) +copyStrings.push('copy:contractImages') if (!disableLiveReload) { copyStrings.push('copy:reload') |