diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | chromium/icon.svg | 8 | ||||
-rw-r--r-- | chromium/manifest.json | 2 |
3 files changed, 9 insertions, 5 deletions
@@ -48,7 +48,9 @@ crx: rm -rf chromium-build mkdir chromium-build cp COPYING simplyread.js keybind.js chromium/viable.js chromium/background.html chromium-build/ - rsvg chromium/icon.svg chromium-build/icon.png + rsvg -w 19 -h 19 chromium/icon.svg chromium-build/icon.png + rsvg -w 48 -h 48 chromium/icon.svg chromium-build/icon48.png + rsvg -w 128 -h 128 chromium/icon.svg chromium-build/icon128.png sed "s/VERSION/$(VERSION)/g" < chromium/manifest.json > chromium-build/manifest.json sh chromium/makecrx.sh chromium-build $(KEYFILE) > web/$(NAME)-$(VERSION).crx rm -r chromium-build diff --git a/chromium/icon.svg b/chromium/icon.svg index fd74cc4..fda3979 100644 --- a/chromium/icon.svg +++ b/chromium/icon.svg @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> -<svg xmlns="http://www.w3.org/2000/svg" version="1.0" width="19" height="19"> - <circle cx="9.5" cy="9.5" r="9.5" fill="white"/> - <text x="3" y="15" font-size="18" font-family="sans">s</text> - <text x="8" y="15" font-size="18" font-family="sans">r</text> +<svg xmlns="http://www.w3.org/2000/svg" version="1.0" width="128" height="128"> + <circle cx="64" cy="64" r="64" fill="white"/> + <text x="11" y="100" font-size="128" font-family="sans">s</text> + <text x="59" y="100" font-size="128" font-family="sans">r</text> </svg> diff --git a/chromium/manifest.json b/chromium/manifest.json index ceb7179..ea80b15 100644 --- a/chromium/manifest.json +++ b/chromium/manifest.json @@ -5,5 +5,7 @@ "permissions": [ "tabs", "<all_urls>" ], "content_scripts": [{"matches": ["<all_urls>"], "js": ["simplyread.js", "keybind.js", "viable.js"]}], "page_action": { "default_icon": "icon.png" }, + "icons": {"48":"icon48.png", "128":"icon128.png"}, + "homepage_url": "http://njw.me.uk/software/simplyread/", "update_url": "http://njw.me.uk/software/simplyread/chromium-updates.xml" } |