This commit is contained in:
Brian Zalewski 2023-11-30 07:39:08 +00:00
parent 44f12e142a
commit 0bad4bde80
2 changed files with 13 additions and 2 deletions

View file

@ -0,0 +1,11 @@
#!/usr/bin/env bash
backupMacPrefs() {
if [ -d /Applications ] && [ -d /System ]; then
if command -v macprefs > /dev/null; then
macprefs backup -t system_preferences startup_items shared_file_lists preferences app_store_preferences internet_accounts
fi
fi
}
backupMacPrefs

View file

@ -10728,14 +10728,14 @@ softwarePackages:
xcode:
_deps:script:darwin:
- xcodeinstall
_bin: xcodebuild
_bin: xcode
_desc: "[Xcode](https://developer.apple.com/xcode/) is Apple's integrated development environment for macOS, used to develop software for macOS, iOS, iPadOS, watchOS, and tvOS."
_docs: https://developer.apple.com/documentation/xcode
_github: false
_home: https://developer.apple.com/xcode/
_name: XCode
_post: sudo xcodebuild -license accept && sudo xcodebuild -runFirstLaunch
_when:darwin: '! test -d /Applications/Xcode.app'
_when:script:darwin: '! test -d /Applications/Xcode.app'
mas: 497799835
script:darwin: |
### Load AWS secrets