From 17fb25e0b1f71600e67e472e29f5f55127af6662 Mon Sep 17 00:00:00 2001 From: Nathaniel Landau Date: Thu, 24 Dec 2015 10:46:44 -0500 Subject: [PATCH] Added flag to stop photos from opening whenever a camera is connected --- setupScripts/osx.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/setupScripts/osx.sh b/setupScripts/osx.sh index 00556a6..4faf07c 100755 --- a/setupScripts/osx.sh +++ b/setupScripts/osx.sh @@ -719,9 +719,14 @@ if is_confirmed; then 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?" if is_confirmed; then # Use the system-native print preview dialog