diff options
author | SwiftyOS <craigswift13@gmail.com> | 2023-09-17 18:41:06 +0200 |
---|---|---|
committer | SwiftyOS <craigswift13@gmail.com> | 2023-09-17 18:41:06 +0200 |
commit | 3ea9d6a70f36a4d250423ae30495732b358ecbae (patch) | |
tree | 5fa71ffe333c9ce9134453ae05f9662af8200d54 /setup.sh | |
parent | Protect meta issues from being staled (diff) | |
download | Auto-GPT-3ea9d6a70f36a4d250423ae30495732b358ecbae.tar.gz Auto-GPT-3ea9d6a70f36a4d250423ae30495732b358ecbae.tar.bz2 Auto-GPT-3ea9d6a70f36a4d250423ae30495732b358ecbae.zip |
simplified the install script add help instruction
Diffstat (limited to 'setup.sh')
-rwxr-xr-x | setup.sh | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -24,30 +24,31 @@ fi if ! command -v flutter &> /dev/null then echo "flutter could not be found" - echo "Installing flutter..." - git clone https://github.com/flutter/flutter.git - export PATH="$PATH:`pwd`/flutter/bin" + 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 "Installing Google Chrome..." - wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb - sudo dpkg -i google-chrome-stable_current_amd64.deb + 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 |