Fix #460: wrong Android icon (#481)

* fix #460: wrong android icon

* Update test

* Remove extra line

---------

Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
This commit is contained in:
Mark Huang 2024-01-17 03:02:33 +08:00 committed by GitHub
parent 812fb9b6d6
commit fbca9587ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View File

@ -10,9 +10,8 @@ function _tide_detect_os
printf %s\n  FFFFFF 00CCFF # https://answers.microsoft.com/en-us/windows/forum/all/what-is-the-official-windows-8-blue-rgb-or-hex/fd57144b-f69b-42d8-8c21-6ca911646e44
case linux
if test (uname -o) = Android
echo ﲎ # This character is evil and messes up code display, so it's put on its own line
# https://developer.android.com/distribute/marketing-tools/brand-guidelines
printf %s\n 3DDC84 3C3F41 # fg is from above link, bg is from Android Studio default dark theme
printf %s\n 3DDC84 3C3F41 # fg is from above link, bg is from Android Studio default dark theme
else
_tide_detect_os_linux_cases /etc/os-release ID ||
_tide_detect_os_linux_cases /etc/os-release ID_LIKE ||

View File

@ -11,7 +11,7 @@ _tide_detect_os
mock uname \* "echo Linux"
mock uname -o "echo Android"
_tide_detect_os
# CHECK:
# CHECK:
# CHECK: 3DDC84
# CHECK: 3C3F41