plexpy/package/macos-scripts/postinstall
2020-07-07 17:05:15 -07:00

10 lines
265 B
Bash
Executable File

#!/usr/bin/env bash
dialogText=`osascript -e 'set dialogText to button returned of (display dialog "Installation complete. Start Tautulli?" buttons {"Start", "Close"})'`;
if [[ $dialogText == 'Start' ]]
then
open /Applications/Tautulli.app
else
exit 0;
fi