From c553b790fc781772e8fbfffb91e3bf062d3202d6 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 21 Jun 2019 18:12:00 +0200 Subject: macOS: rename blender.app to Blender.app Using a capitalized app name fits the platform guidelines. Since macOS file systems are case insensitive by default this should not break scripts that assume lowercase. --- release/darwin/bundle.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'release/darwin/bundle.sh') diff --git a/release/darwin/bundle.sh b/release/darwin/bundle.sh index b61238dc620..85084e07ee2 100755 --- a/release/darwin/bundle.sh +++ b/release/darwin/bundle.sh @@ -69,8 +69,8 @@ while [[ $# -gt 0 ]]; do esac done -if [ ! -d "${SRC_DIR}/blender.app" ]; then - echo "use --source parameter to set source directory where blender.app can be found" +if [ ! -d "${SRC_DIR}/Blender.app" ]; then + echo "use --source parameter to set source directory where Blender.app can be found" exit 1 fi @@ -91,8 +91,8 @@ fi # let's go. -echo -n "Copying blender.app..." -cp -r "${SRC_DIR}/blender.app" "${_tmpdir}/" || exit 1 +echo -n "Copying Blender.app..." +cp -r "${SRC_DIR}/Blender.app" "${_tmpdir}/" || exit 1 echo # Create the disk image @@ -130,10 +130,10 @@ if [ ! -z "${C_CERT}" ]; then # codesigning seems to be thingie. all libs and binaries need to be # signed separately. todo: use some find magic to find those echo -n "Codesigning..." - codesign --timestamp --options runtime --sign "${C_CERT}" "${MOUNT_DIR}/blender.app/Contents/Resources/2.80/python/bin/python3.7m" - codesign --timestamp --options runtime --sign "${C_CERT}" "${MOUNT_DIR}/blender.app/Contents/Resources/2.80/python/lib/python3.7/site-packages/libextern_draco.dylib" - codesign --timestamp --options runtime --sign "${C_CERT}" "${MOUNT_DIR}/blender.app/Contents/Resources/lib/libomp.dylib" - codesign --timestamp --options runtime --sign "${C_CERT}" "${MOUNT_DIR}/blender.app" + codesign --timestamp --options runtime --sign "${C_CERT}" "${MOUNT_DIR}/Blender.app/Contents/Resources/2.80/python/bin/python3.7m" + codesign --timestamp --options runtime --sign "${C_CERT}" "${MOUNT_DIR}/Blender.app/Contents/Resources/2.80/python/lib/python3.7/site-packages/libextern_draco.dylib" + codesign --timestamp --options runtime --sign "${C_CERT}" "${MOUNT_DIR}/Blender.app/Contents/Resources/lib/libomp.dylib" + codesign --timestamp --options runtime --sign "${C_CERT}" "${MOUNT_DIR}/Blender.app" echo else echo "No codesigning cert given, skipping..." -- cgit v1.2.3