add icon to chrome extension

This commit is contained in:
Roy Olav Purser 2021-06-12 19:55:22 +02:00
parent 9193895e45
commit cc1b7aba49
Signed by: roypur
GPG Key ID: E14D26A036F21656
3 changed files with 18 additions and 1 deletions

1
.gitignore vendored
View File

@ -9,4 +9,5 @@ app/app/release/*
app/.idea/* app/.idea/*
app/.gradle/* app/.gradle/*
app/gradle/* app/gradle/*
chrome/*.png
sources.json sources.json

9
chrome-icons.sh Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
dir=$(dirname $(realpath $0))
inkscape --export-area-page --export-width=16 --export-height=16 "${dir}/frontend/favicon.svg" --export-filename="${dir}/chrome/icon-16.png"
inkscape --export-area-page --export-width=19 --export-height=19 "${dir}/frontend/favicon.svg" --export-filename="${dir}/chrome/icon-19.png"
inkscape --export-area-page --export-width=38 --export-height=38 "${dir}/frontend/favicon.svg" --export-filename="${dir}/chrome/icon-38.png"
inkscape --export-area-page --export-width=48 --export-height=48 "${dir}/frontend/favicon.svg" --export-filename="${dir}/chrome/icon-48.png"
inkscape --export-area-page --export-width=128 --export-height=128 "${dir}/frontend/favicon.svg" --export-filename="${dir}/chrome/icon-128.png"

View File

@ -1,6 +1,13 @@
{ {
"name": "Proxy Stream", "name": "Proxy Stream",
"version": "113.0", "icons": {
"16": "icon-16.png",
"19": "icon-19.png",
"38": "icon-38.png",
"48": "icon-48.png",
"128": "icon-128.png"
},
"version": "116.0",
"manifest_version": 3, "manifest_version": 3,
"permissions": ["tabs"], "permissions": ["tabs"],
"action": { "action": {