Skip to content

Commit

Permalink
Fallback to inkscape 0.9 CLI (for GitHub CI)
Browse files Browse the repository at this point in the history
  • Loading branch information
exhuma committed Jul 31, 2022
1 parent 2d5694a commit fa38a0b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fa38a0b

Please sign in to comment.