Added flag to stop photos from opening whenever a camera is connected

This commit is contained in:
Nathaniel Landau
2015-12-24 10:46:44 -05:00
parent 931e30dd34
commit 17fb25e0b1

View File

@@ -719,9 +719,14 @@ if is_confirmed; then
fi fi
############################################################################### ###############################################################################
# 12. Address Book, Dashboard, iCal, TextEdit, Chrome, and Disk Utility # 12. Address Book, Dashboard, iCal, TextEdit, Chrome, Photos, and Disk Utility
############################################################################### ###############################################################################
seek_confirmation "Stop Photos from opening whenever a camera is connected?"
if is_confirmed; then
defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool YES
fi
seek_confirmation "Configure Google Chrome?" seek_confirmation "Configure Google Chrome?"
if is_confirmed; then if is_confirmed; then
# Use the system-native print preview dialog # Use the system-native print preview dialog