🦊 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:
parent
59d436a944
commit
32fc9f45dd
2 changed files with 4 additions and 2 deletions
|
@ -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
2
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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue