Permalink
Browse files

disabled crashreporter dialogs on digital signage clients

  • Loading branch information...
1 parent be137a8 commit a6ff31f1f3b459af5877dbd8ced319ff8d9dedb8 @jesilz jesilz committed Nov 1, 2012
Showing with 10 additions and 1 deletion.
  1. +1 −1 digital_signage/metadata.rb
  2. +9 −0 digital_signage/recipes/settings.rb
@@ -3,7 +3,7 @@
license "All rights reserved"
description "Setups up a Biola Digital Signage Client"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
-version "0.0.8"
+version "0.0.9"
recipe "digital_signage", "Installs the Biola digital signage .air application. Includes digital_signage::settings and digital_signage::adobe_air."
recipe "digital_signage::settings", "Configures the OS X environment for a digital signage computer."
@@ -224,4 +224,13 @@
command "osascript -e 'tell application \"Finder\" to set desktop picture to (POSIX file \"/Library/Desktop Pictures/Solid Colors/Solid Black.png\")'"
only_if {File.exists? "/Library/Desktop Pictures/Solid Colors/Solid Black.png"}
#TODO: keep this from running every time
+end
+
+# Turn off the "unexpectedly quit" dialog boxes
+execute "turn-of-crash-reporter-dialog" do
+ user "digsig"
+ command "defaults write com.apple.CrashReporter DialogType none"
+ not_if do
+ `defaults read com.apple.CrashReporter DialogType`.strip == "none"
+ end
end

0 comments on commit a6ff31f

Please sign in to comment.