Skip to content

Commit 3f7886c

Browse files
committed
Another entitlements syntax change
1 parent 35082b4 commit 3f7886c

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

installer/build-mac-dmg.sh

+3-6
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ cp installer/Info.plist "$OS_PATH"
1717
sed -e "s/VERSION/$VERSION/g" "$OS_PATH/Info.plist" > "$OS_PATH/Info.plist_version"
1818
mv "$OS_PATH/Info.plist_version" "$OS_PATH/Info.plist"
1919

20-
echo "Copying the entitlements file"
21-
cp "installer/openshot.entitlements" "build"
22-
2320
if [ ! -d "$OS_PATH/MacOS/lib" ]; then
2421
echo "Creating lib folder"
2522
mkdir "$OS_PATH/MacOS/lib"
@@ -58,10 +55,10 @@ if [ -d "$OS_PATH/MacOS/python3.6" ]; then
5855
fi
5956

6057
echo "Loop through bundled files and sign all binary files"
61-
find "build" \( -iname '*.dylib' -o -iname '*.so' \) -exec codesign -s "OpenShot Studios, LLC" --timestamp=http://timestamp.apple.com/ts01 --entitlements "openshot.entitlements" --force "{}" \;
58+
find "build" \( -iname '*.dylib' -o -iname '*.so' \) -exec codesign -s "OpenShot Studios, LLC" --timestamp=http://timestamp.apple.com/ts01 --entitlements "installer/openshot.entitlements" --force "{}" \;
6259

6360
echo "Code Sign App Bundle (deep)"
64-
codesign -s "OpenShot Studios, LLC" --force --deep --entitlements "openshot.entitlements" --options runtime --timestamp=http://timestamp.apple.com/ts01 "build/$OS_APP_NAME"
61+
codesign -s "OpenShot Studios, LLC" --force --deep --entitlements "installer/openshot.entitlements" --options runtime --timestamp=http://timestamp.apple.com/ts01 "build/$OS_APP_NAME"
6562

6663
echo "Verifying App Signing"
6764
spctl -a -vv "build/$OS_APP_NAME"
@@ -70,7 +67,7 @@ echo "Building Custom DMG"
7067
appdmg "installer/dmg-template.json" "build/$OS_DMG_NAME"
7168

7269
echo "Code Sign DMG"
73-
codesign -s "OpenShot Studios, LLC" --force --entitlements "openshot.entitlements" --timestamp=http://timestamp.apple.com/ts01 "build/$OS_DMG_NAME"
70+
codesign -s "OpenShot Studios, LLC" --force --entitlements "installer/openshot.entitlements" --timestamp=http://timestamp.apple.com/ts01 "build/$OS_DMG_NAME"
7471

7572
echo "Notarize DMG file (send to apple)"
7673
# No errors uploading '/Users/jonathan/builds/7d5103a1/0/OpenShot/openshot-qt/build/test.zip'.

0 commit comments

Comments
 (0)