Remove WSL and MacOS support

This commit is contained in:
Shihaam Abdul Rahman 2021-04-29 15:17:09 +05:00
parent 1bf47be2d7
commit bebe36a497
2 changed files with 6 additions and 5 deletions

View File

@ -20,9 +20,6 @@ BML CLI written in Bash. This project is currently under development and a lot o
### Termux
`pkg install curl jq ncurses-utils`
## Bugs
- :)
## Installation
```
git clone https://github.com/shihaamabr/bml-cli
@ -30,3 +27,7 @@ cd bml-cli
chmod +x bml.sh
./bml.sh
```
## Bugs
- Throws error and exists on MacOS and WSL \
Solution run: `rm osdetect.sh`

View File

@ -3,11 +3,11 @@
if [ "uname -r | grep -oE microsoft" = "microsoft" ]
then
echo ${red}WSL Not Supported!${reset}
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}
echo "${red}MacOS Not Supported!${reset}" 1>&2
exit
else
: