mirror of
https://github.com/natelandau/shell-scripting-templates.git
synced 2025-11-11 14:33:47 -05:00
Added flag to stop photos from opening whenever a camera is connected
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user