diff --git a/system_detection.2 b/system_detection.2 index 71a63a1..c0939f6 100644 --- a/system_detection.2 +++ b/system_detection.2 @@ -25,3 +25,10 @@ fi if [ "$(uname -s)" = "Haiku" ] && [ "$system_type" = "unknown" ]; then system_type="haiku" fi +command -v winver.exec >>/dev/null +if [ "$?" -eq 0 ] && ["$system_type" = "unknown" ]; then + system_type="windows" + if [ "$(uname -o)" = "Cygwin" ]; then + subtype="cygwin" + fi +fi