Latest
This commit is contained in:
parent
44f12e142a
commit
0bad4bde80
2 changed files with 13 additions and 2 deletions
11
home/dot_local/bin/executable_backup
Normal file
11
home/dot_local/bin/executable_backup
Normal 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
|
|
@ -10728,14 +10728,14 @@ softwarePackages:
|
||||||
xcode:
|
xcode:
|
||||||
_deps:script:darwin:
|
_deps:script:darwin:
|
||||||
- xcodeinstall
|
- 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."
|
_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
|
_docs: https://developer.apple.com/documentation/xcode
|
||||||
_github: false
|
_github: false
|
||||||
_home: https://developer.apple.com/xcode/
|
_home: https://developer.apple.com/xcode/
|
||||||
_name: XCode
|
_name: XCode
|
||||||
_post: sudo xcodebuild -license accept && sudo xcodebuild -runFirstLaunch
|
_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
|
mas: 497799835
|
||||||
script:darwin: |
|
script:darwin: |
|
||||||
### Load AWS secrets
|
### Load AWS secrets
|
||||||
|
|
Loading…
Reference in a new issue