bml-cli/osdetect.sh
2021-04-29 15:08:22 +05:00

19 lines
269 B
Bash

#!/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