1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-28 07:46:28 +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:
Thomas O'Donnell 2021-01-09 15:45:42 +01:00 committed by GitHub
parent 3fc9f490bb
commit 2dbee86afe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -172,6 +172,7 @@ detect_platform() {
case "${platform}" in
msys_nt*) platform="pc-windows-msvc" ;;
cygwin_nt*) platform="pc-windows-msvc";;
# mingw is Git-Bash
mingw*) platform="pc-windows-msvc" ;;
# use the statically compiled musl bins on linux to avoid linking issues.