diff --git a/Makefile b/Makefile index 34af664..4c8667b 100644 --- a/Makefile +++ b/Makefile @@ -14,11 +14,17 @@ 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 + -o unpackaged/chrome/assets/icon48.png || \ + inkscape -w 48 -h 48 public/assets/icon.svg \ + -e unpackaged/chrome/assets/icon48.png inkscape -w 96 -h 96 public/assets/icon.svg \ - -o unpackaged/chrome/assets/icon96.png + -o unpackaged/chrome/assets/icon96.png || \ + inkscape -w 96 -h 96 public/assets/icon.svg \ + -e unpackaged/chrome/assets/icon96.png inkscape -w 128 -h 128 public/assets/icon.svg \ - -o unpackaged/chrome/assets/icon128.png + -o unpackaged/chrome/assets/icon128.png || \ + inkscape -w 128 -h 128 public/assets/icon.svg \ + -e unpackaged/chrome/assets/icon128.png sed -e 's/__version__/$(CURRENT_VERSION)/' \ manifest-chrome.json > unpackaged/chrome/manifest.json