aboutsummaryrefslogtreecommitdiffhomepage
path: root/gen
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbarenblat@gmail.com>2021-12-22 16:45:15 -0500
committerGravatar Benjamin Barenblat <bbarenblat@gmail.com>2021-12-22 16:45:15 -0500
commit84f306bce157b974a8b540487a316d28a3416323 (patch)
tree7d74588a3b139259d0af2cc1b7f47d4ff951d4e2 /gen
parent746f3d8ddcc6303f3f5725d5b3ad847b9e4fd7b2 (diff)
Make icon an SVG
It’s still saved as a PNG in the extension package, but rendering it from an SVG produces a better-looking result and is easier to work with.
Diffstat (limited to 'gen')
-rwxr-xr-xgen/png4
1 files changed, 2 insertions, 2 deletions
diff --git a/gen/png b/gen/png
index 337fda1..cab38c7 100755
--- a/gen/png
+++ b/gen/png
@@ -15,5 +15,5 @@
set -eu
-cp "$1" "$2"
-optipng -o7 "$2"
+inkscape -w "$2" -h "$2" -o "$3" "$1"
+optipng -o7 "$3"