Remove WSL and MacOS support
This commit is contained in:
parent
d3a0d06625
commit
1bf47be2d7
18
osdetect.sh
Normal file
18
osdetect.sh
Normal file
@ -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
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user