* App install code not called from .bin/Scripts/install_app * This ensures all installs are treated the same * install code now supports apps not listed on macapps.link * Launcher scripts now search the current path for .bin * SW Diagnostics fleshed-out * Added more info sections * More consistant logging * Probably more..
27 lines
474 B
Bash
27 lines
474 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" "Tunnelblick" "Tunnelblick.app" "https://tunnelblick.net/release/Tunnelblick_3.6.7beta04_build_4601.dmg" "" "" ""
|
|
|
|
# Done
|
|
echo ""
|