Skip to content

Commit

Permalink
Removed flutter and chrome from setup as not required
Browse files Browse the repository at this point in the history
  • Loading branch information
Swiftyos committed Sep 21, 2023
1 parent 62efc6b commit 186508e
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,35 +28,3 @@ else
curl -sSL https://install.python-poetry.org | python3 -
fi
fi

if ! command -v flutter &> /dev/null
then
echo "flutter could not be found"
echo "Please install flutter following the instrutions found at https://docs.flutter.dev/get-started/install"
exit 1
fi
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
if ! command -v google-chrome-stable &> /dev/null
then
echo "Google Chrome could not be found"
echo "Please install Google Chrome manually from https://www.google.com/chrome/"
exit 1
fi
elif [[ "$OSTYPE" == "darwin"* ]]; then
if ! command -v /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome &> /dev/null
then
echo "Google Chrome could not be found"
echo "Please install Google Chrome manually from https://www.google.com/chrome/"
exit 1
fi
elif [[ "$OSTYPE" == "cygwin" ]] || [[ "$OSTYPE" == "msys" ]] || [[ "$OSTYPE" == "win32" ]]; then
if ! command -v /c/Program\ Files\ \(x86\)/Google/Chrome/Application/chrome.exe &> /dev/null
then
echo "Google Chrome could not be found"
echo "Please install Google Chrome manually from https://www.google.com/chrome/"
exit 1
fi
else
echo "Unsupported OS. Please install Google Chrome manually from https://www.google.com/chrome/"
exit 1
fi

0 comments on commit 186508e

Please sign in to comment.