diff options
author | Vika <vika@fireburn.ru> | 2022-03-03 00:04:16 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2022-03-03 00:04:16 +0300 |
commit | b64f3add27bac6914ea1f8b2a5e801c7f73bcc76 (patch) | |
tree | df5b5e89dbf991f2389937cbf0a935f2dfa32687 /fonts/update.sh | |
parent | 4de2f901a549f051c1a03b83fc114d38638dcbfb (diff) | |
download | kittybox-b64f3add27bac6914ea1f8b2a5e801c7f73bcc76.tar.zst |
fonts: init font update script
This will be used to embed fonts into the executable to not rely on Google Fonts anymore.
Diffstat (limited to 'fonts/update.sh')
-rwxr-xr-x | fonts/update.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fonts/update.sh b/fonts/update.sh new file mode 100755 index 0000000..02dcbee --- /dev/null +++ b/fonts/update.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +set -e +cd fonts +url='https://fonts.google.com/download?family=Lato|Caveat|Noto%20Color%20Emoji|Noto%20Colr%20Emoji%20Glyf' +tmp=$(mktemp) +curl "$url" > "$tmp" +unzip -uo "$tmp" +rm "$tmp" |