🦊 Update emoji url to latest version (#18)

Point url to grab emoji from to latest version of emoji list, which
should automatically point to upcoming versions as well.

Fixes #18.
This commit is contained in:
Marty Oehme 2023-04-11 21:59:24 +02:00
parent 59d436a944
commit 32fc9f45dd
Signed by: Marty
GPG Key ID: EDBF2ED917B2EF6A
2 changed files with 4 additions and 2 deletions

View File

@ -22,7 +22,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
<!-- ### Removed -->
<!-- ### Fixed -->
### Fixed
- Always download from newest emoji list url
<!-- ### Security -->

2
bemoji
View File

@ -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"
}