mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 05:01:14 -07:00
Add MacOS pkg post install script to open Tautulli
This commit is contained in:
parent
347db6b770
commit
3ea257f8f3
1 changed files with 9 additions and 0 deletions
9
package/macos-scripts/postinstall
Executable file
9
package/macos-scripts/postinstall
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/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
|
Loading…
Add table
Add a link
Reference in a new issue