From 32fc9f45ddafd06d0be47086c27aae6a351e5363 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Tue, 11 Apr 2023 21:59:24 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=8A=20Update=20emoji=20url=20to=20late?= =?UTF-8?q?st=20version=20(#18)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Point url to grab emoji from to latest version of emoji list, which should automatically point to upcoming versions as well. Fixes #18. --- CHANGELOG.md | 4 +++- bemoji | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a86d5a..022b526 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,7 +22,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - +### Fixed + +- Always download from newest emoji list url diff --git a/bemoji b/bemoji index d3df589..6da4e86 100755 --- a/bemoji +++ b/bemoji @@ -98,7 +98,7 @@ prepare_db() { dl_default_emoji() { local emojis - emojis=$(curl -sSL "https://unicode.org/Public/emoji/14.0/emoji-test.txt") + emojis=$(curl -sSL "https://unicode.org/Public/emoji/latest/emoji-test.txt") printf "%s" "$emojis" | sed -ne 's/^.*; fully-qualified.*# \(\S*\) \S* \(.*$\)/\1 \2/gp' >"$bm_db_location/emojis.txt" printf "Downloaded default emoji set.\n" }