diff --git a/osdetect.sh b/osdetect.sh new file mode 100644 index 0000000..26a29ee --- /dev/null +++ b/osdetect.sh @@ -0,0 +1,18 @@ +#!/bin/bash + + +if [ "uname -r | grep -oE microsoft" = "microsoft" ] + then + echo ${red}WSL Not Supported!${reset} + exit +elif [ "uname -a | grep -oE Darwin | tail -n1" = "Darwin" ] + then + echo ${red}MacOS Not Supported!${reset} + exit +else + : +fi + +source readpass.sh + +