* 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..
13 lines
270 B
Bash
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
|