mirror of
https://github.com/kyleneideck/BackgroundMusic
synced 2024-11-26 14:10:16 +00:00
Fix repeating error message in build_and_install.sh
This commit is contained in:
parent
267c5a38e7
commit
1ada18fd16
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ echo "Launching Background Music."
|
|||
open "/Applications/Background Music.app"
|
||||
|
||||
# Wait up to 5 seconds for Background Music to start.
|
||||
(while [[ "$(ps -u $(whoami) -o ucomm= | grep 'Background Music')" == "" ]]; do
|
||||
(while ! (ps -Ao ucomm= | grep 'Background Music' > /dev/null); do
|
||||
sleep 1;
|
||||
done) &
|
||||
show_spinner 5
|
||||
|
|
Loading…
Reference in a new issue