Remove WSL and MacOS support

This commit is contained in:
Shihaam Abdul Rahman
2021-04-29 15:23:59 +05:00
parent 8c713c8dd3
commit de015ea042
3 changed files with 18 additions and 1 deletions

15
osdetect.sh Normal file
View File

@@ -0,0 +1,15 @@
#!/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