echo " You may be prompted for a password in order to install the following dependencies:"
echo " - Chromium Browser (see README for Google-Chrome instructions instead)"
echo " - python3"
echo " - wget"
echo " - curl"
echo ""
echo " You may follow Manual Setup instructions in README.md instead if you prefer not to run an unknown script."
echo " Press enter to continue, or Ctrl+C to cancel..."
read
echo ""
# On Linux:
if which apt-get > /dev/null; then
echo "[+] Updating apt repos..."
apt update -q
if which google-chrome; then
echo "[i] You already have google-chrome installed, if you would like to download chromium-browser instead (they work pretty much the same), follow the Manual Setup instructions"
echo "[+] Linking $(which google-chrome) -> /usr/bin/chromium-browser (press enter to continue, or Ctrl+C to cancel...)"
read
elif which chromium-browser; then
echo "[i] chromium-browser already installed, using existing installation."