Apple2GSBuildPipeline/pkg/scripts/postinstall
2018-07-20 20:23:12 -05:00

12 lines
297 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/OrcaM.ideplugin/Contents/Info.plist" DVTPlugInCompatibilityUUIDs -array-add "${UUID}"