Ascii: [Windows 10] Fix ascii_distro not working
This commit is contained in:
parent
8b87e9978e
commit
32c4b00bfd
3
neofetch
3
neofetch
|
@ -59,7 +59,6 @@ get_distro() {
|
||||||
"tiny") distro="Windows 10" ;;
|
"tiny") distro="Windows 10" ;;
|
||||||
*) distro="$(lsb_release -sd) on Windows 10" ;;
|
*) distro="$(lsb_release -sd) on Windows 10" ;;
|
||||||
esac
|
esac
|
||||||
ascii_distro="Windows 10"
|
|
||||||
|
|
||||||
elif [[ -f "/etc/GoboLinuxVersion" ]]; then
|
elif [[ -f "/etc/GoboLinuxVersion" ]]; then
|
||||||
case "$distro_shorthand" in
|
case "$distro_shorthand" in
|
||||||
|
@ -3143,7 +3142,7 @@ get_distro_colors() {
|
||||||
ascii_file="void"
|
ascii_file="void"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Windows 8"* | "Windows 10"*)
|
*"[Windows 10]"* | *"on Windows 10"* | "Windows 8"* | "Windows 10"*)
|
||||||
set_colors 6 7
|
set_colors 6 7
|
||||||
ascii_file="windows10"
|
ascii_file="windows10"
|
||||||
;;
|
;;
|
||||||
|
|
Reference in New Issue