From b64f3add27bac6914ea1f8b2a5e801c7f73bcc76 Mon Sep 17 00:00:00 2001 From: Vika Date: Thu, 3 Mar 2022 00:04:16 +0300 Subject: fonts: init font update script This will be used to embed fonts into the executable to not rely on Google Fonts anymore. --- fonts/update.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 fonts/update.sh (limited to 'fonts') 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" -- cgit 1.4.1