Hyphen to seperate extension icons size

This commit is contained in:
Shiva Poudel 2021-07-04 03:03:42 +05:45
parent fa6e22a284
commit fd16fced65
6 changed files with 5 additions and 5 deletions

View File

@ -25,7 +25,7 @@ function generateIcons() {
sharp(svgPath)
.png()
.resize({ width: size, height: size })
.toFile(`${iconsPath}/icon${size}.png`)
.toFile(`${iconsPath}/icon-${size}.png`)
.catch(function (err) {
console.log(err);
});

View File

Before

Width:  |  Height:  |  Size: 8.0 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

View File

Before

Width:  |  Height:  |  Size: 730 B

After

Width:  |  Height:  |  Size: 730 B

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -5,10 +5,10 @@
"description": "Replace the file/folder icons on the GitHub file browser with icons representing the file's type and which tool it is used by.",
"homepage_url": "https://github.com/Claudiohbsantos/github-material-icons-extension",
"icons": {
"16": "icon16.png",
"32": "icon32.png",
"48": "icon48.png",
"128": "icon128.png"
"16": "icon-16.png",
"32": "icon-32.png",
"48": "icon-48.png",
"128": "icon-128.png"
},
"content_scripts": [
{