mirror of
https://github.com/Lissy93/dotfiles.git
synced 2024-11-28 10:13:11 +01:00
Restart affected apps when done
This commit is contained in:
parent
93a8728c52
commit
b984b41dc0
@ -489,6 +489,25 @@ defaults write org.m0k.transmission BlocklistAutoUpdate -bool true
|
||||
log_msg "Randomize port on launch"
|
||||
defaults write org.m0k.transmission RandomPort -bool true
|
||||
|
||||
#################################
|
||||
# Restart affected applications #
|
||||
#################################
|
||||
log_section "Finishing Up"
|
||||
log_msg "Restarting afffecting apps"
|
||||
for app in "Activity Monitor" \
|
||||
"Address Book" \
|
||||
"Calendar" \
|
||||
"Contacts" \
|
||||
"Finder" \
|
||||
"Mail" \
|
||||
"Messages" \
|
||||
"Photos" \
|
||||
"Safari" \
|
||||
"Terminal" \
|
||||
"iCal"; do
|
||||
killall "${app}" &> /dev/null
|
||||
done
|
||||
|
||||
#####################################
|
||||
# Print finishing message, and exit #
|
||||
#####################################
|
||||
|
Loading…
Reference in New Issue
Block a user