mirror of
https://github.com/IlanCosman/tide.git
synced 2024-09-11 09:05:37 +03:00
* fix #460: wrong android icon * Update test * Remove extra line --------- Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
This commit is contained in:
parent
812fb9b6d6
commit
fbca9587ae
@ -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
|
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
|
case linux
|
||||||
if test (uname -o) = Android
|
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
|
# 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
|
else
|
||||||
_tide_detect_os_linux_cases /etc/os-release ID ||
|
_tide_detect_os_linux_cases /etc/os-release ID ||
|
||||||
_tide_detect_os_linux_cases /etc/os-release ID_LIKE ||
|
_tide_detect_os_linux_cases /etc/os-release ID_LIKE ||
|
||||||
|
@ -11,7 +11,7 @@ _tide_detect_os
|
|||||||
mock uname \* "echo Linux"
|
mock uname \* "echo Linux"
|
||||||
mock uname -o "echo Android"
|
mock uname -o "echo Android"
|
||||||
_tide_detect_os
|
_tide_detect_os
|
||||||
# CHECK: ﲎ
|
# CHECK:
|
||||||
# CHECK: 3DDC84
|
# CHECK: 3DDC84
|
||||||
# CHECK: 3C3F41
|
# CHECK: 3C3F41
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user