WizardKit/Diagnostics.command
Alan Mason cf4635be17 2016-09: Retroactive Updates
* 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..
2017-12-04 16:48:40 -08:00

13 lines
270 B
Bash

#!/bin/bash
## Wizard Kit: Start SW Diagnostics
# Init
## Get .bin absolute path (dirty code roughly based on http://stackoverflow.com/a/12197227)
pushd . > /dev/null
cd "$(dirname "$0")/.bin"
BIN="$(pwd)"
popd > /dev/null
# Run
sudo "$BIN/Scripts/diagnostics"
exit 0