diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index b1f708a..91ae976 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -7,12 +7,13 @@ FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT} RUN apt update && \ DEBIAN_FRONTEND=noninteractive \ apt -y install \ + inkscape \ libnotify-bin \ pandoc \ - vim-nox \ python3 \ python3-pip \ python3-venv \ + vim-nox \ jq && \ pip3 install pre-commit diff --git a/Makefile b/Makefile index 41b5cf1..34af664 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,12 @@ mozilla: pages bundled_docs chrome: pages bundled_docs mkdir -p unpackaged/chrome/src/core cp -r build/pages/* unpackaged/chrome/ + inkscape -w 48 -h 48 public/assets/icon.svg \ + -o unpackaged/chrome/assets/icon48.png + inkscape -w 96 -h 96 public/assets/icon.svg \ + -o unpackaged/chrome/assets/icon96.png + inkscape -w 128 -h 128 public/assets/icon.svg \ + -o unpackaged/chrome/assets/icon128.png sed -e 's/__version__/$(CURRENT_VERSION)/' \ manifest-chrome.json > unpackaged/chrome/manifest.json diff --git a/manifest-chrome.json b/manifest-chrome.json index 3e6eb43..8deceaf 100644 --- a/manifest-chrome.json +++ b/manifest-chrome.json @@ -6,9 +6,9 @@ "author": "Michel Albert", "homepage_url": "https://github.com/exhuma/schmackhaft", "icons": { - "48": "/assets/icon.svg", - "96": "/assets/icon.svg", - "128": "/assets/icon.svg" + "48": "/assets/icon48.png", + "96": "/assets/icon96.png", + "128": "/assets/icon128.png" }, "action": { "default_icon": {