Skip to content

Instantly share code, notes, and snippets.

@arubdesu
Created February 26, 2015 21:37
Show Gist options
  • Save arubdesu/69646c49e0f68cab82cf to your computer and use it in GitHub Desktop.
Save arubdesu/69646c49e0f68cab82cf to your computer and use it in GitHub Desktop.
Auto-allow apple+3rd party dev to get diag/crash reports
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AutoSubmit</key>
<true/>
<key>AutoSubmitVersion</key>
<integer>4</integer>
<key>ThirdPartyDataSubmit</key>
<true/>
<key>ThirdPartyDataSubmitVersion</key>
<integer>4</integer>
</dict>
</plist>
USE_PKGBUILD=1
include /usr/local/share/luggage/luggage.make
TITLE=diagAndPrivacySetup
REVERSE_DOMAIN=org.montefiore
PACKAGE_VERSION=1.0
PAYLOAD= prep-crashreportdir \
pack-diagPlist
prep-crashreportdir: l_Library_Application_Support
@sudo mkdir -p ${WORK_D}/Library/Application\ Support/CrashReporter
pack-diagPlist: prep-crashreportdir plist
@sudo ${DITTO} plist/ ${WORK_D}/Library/Application\ Support/CrashReporter
@sudo chmod -R 0664 ${WORK_D}/Library/Application\ Support/CrashReporter
@sudo chown -R root:admin ${WORK_D}/Library/Application\ Support/CrashReporter
@sudo chmod 0775 ${WORK_D}/Library/Application\ Support/CrashReporter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment