]>
Commit | Line | Data |
---|---|---|
9726c137 A |
1 | #!/bin/sh |
2 | set -e | |
3 | set -x | |
4 | ||
5 | cp "${SCRIPT_INPUT_FILE_0}" "${SCRIPT_OUTPUT_FILE_0}" | |
6 | case "$PLATFORM_NAME" in | |
887d5eed | 7 | iphone*|appletv*|watch*|bridge*) |
9726c137 A |
8 | /usr/libexec/PlistBuddy -c "Add :LaunchOnlyOnce bool true" "${SCRIPT_OUTPUT_FILE_0}" |
9 | ;; | |
10 | macosx) | |
11 | ;; | |
12 | *) | |
13 | echo "Unsupported platform: $PLATFORM_NAME" | |
14 | exit 1 | |
15 | ;; | |
16 | esac |