bml-cli/osdetect.sh
2021-04-29 15:23:59 +05:00

16 lines
364 B
Bash

#!/bin/bash
if [ "uname -r | grep -oE microsoft" = "microsoft" ]
then
echo "${red}WSL Not Supported!${reset}" 1>&2
exit
elif [ "uname -a | grep -oE Darwin | tail -n1" = "Darwin" ]
then
echo "${red}MacOS Not Supported!${reset}" 1>&2
exit
else
:
fi
source readpass.sh