mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-12-01 01:04:00 +00:00
fix(install): Detect cygwin_nt as Windows (#1989)
This fixes the install script by detecting cygwin_nt* as Windows.
This commit is contained in:
parent
3fc9f490bb
commit
2dbee86afe
@ -172,6 +172,7 @@ detect_platform() {
|
|||||||
|
|
||||||
case "${platform}" in
|
case "${platform}" in
|
||||||
msys_nt*) platform="pc-windows-msvc" ;;
|
msys_nt*) platform="pc-windows-msvc" ;;
|
||||||
|
cygwin_nt*) platform="pc-windows-msvc";;
|
||||||
# mingw is Git-Bash
|
# mingw is Git-Bash
|
||||||
mingw*) platform="pc-windows-msvc" ;;
|
mingw*) platform="pc-windows-msvc" ;;
|
||||||
# use the statically compiled musl bins on linux to avoid linking issues.
|
# use the statically compiled musl bins on linux to avoid linking issues.
|
||||||
|
Loading…
Reference in New Issue
Block a user