instanceinfo.sh: Added Florence detection.
This commit is contained in:
parent
8d13eaab79
commit
a4c51efabb
|
@ -92,6 +92,8 @@ function main()
|
|||
|
||||
if grep -Eq '"is_(pro|verified)"' <<<"${json}"; then
|
||||
implementation="Gab"
|
||||
elif grep -Eq '"version":"[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\."' <<<"${json}"; then
|
||||
implementation="Florence"
|
||||
elif grep -Eq '"version":"[0-9]+\.[0-9]+\.[0-9]+"' <<<"${json}"; then
|
||||
implementation="Mastodon"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue