From 1bf47be2d75ece47eedb0b977172f4a0922239a8 Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Thu, 29 Apr 2021 15:08:22 +0500 Subject: [PATCH] Remove WSL and MacOS support --- osdetect.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 osdetect.sh diff --git a/osdetect.sh b/osdetect.sh new file mode 100644 index 0000000..26a29ee --- /dev/null +++ b/osdetect.sh @@ -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 + +