mirror of
https://github.com/Lissy93/dotfiles.git
synced 2024-11-24 16:33:14 +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"
|
log_msg "Randomize port on launch"
|
||||||
defaults write org.m0k.transmission RandomPort -bool true
|
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 #
|
# Print finishing message, and exit #
|
||||||
#####################################
|
#####################################
|
||||||
|
Loading…
Reference in New Issue
Block a user