Apple2BuildPipeline/pkg/scripts/postinstall
2018-07-21 11:15:30 -05:00

12 lines
296 B
Bash
Executable File

#!/bin/bash
if [ ! -f /Applications/Xcode.app/Contents/Info.plist ]
then
exit 0
fi
UUID=`defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID`
defaults write "$2/Plug-ins/cc65.ideplugin/Contents/Info.plist" DVTPlugInCompatibilityUUIDs -array-add "${UUID}"