WizardKit/.macos_items/Installers/Extras/Cloud/Google Drive.command
2017-12-04 16:57:19 -08:00

27 lines
460 B
Bash

#!/bin/bash
# Init
BIN=""
clear
# Find BIN path
pushd . > /dev/null
cd "$(dirname "$0")"
while [ "$(pwd)" != "/" ]; do
if [ -d ".bin" ]; then
BIN="$(pwd)/.bin"
break
fi
cd ..
done
popd > /dev/null
if [ "$BIN" == "" ]; then
echo ".bin not found"
exit 1
fi
# Install App(s)
"$BIN/Scripts/install_app" "dmg" "Google Drive" "Google Drive.app" "https://dl-ssl.google.com/drive/installgoogledrive.dmg" "" "" ""
# Done
echo ""