Skip to content

Commit b0be2b4

Browse files
committed
Fix codesign syntax issue
1 parent fba073e commit b0be2b4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

installer/build-mac-dmg.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,10 @@ if [ -d "$OS_PATH/MacOS/python3.6" ]; then
5454
fi
5555

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

5959
echo "Code Sign App Bundle (deep)"
60-
codesign -s "OpenShot Studios, LLC" --force --options runtime --timestamp=http://timestamp.apple.com/ts01 "build/$OS_APP_NAME/Contents/MacOS/openshot-qt"
61-
codesign -s "OpenShot Studios, LLC" --force --options runtime --timestamp=http://timestamp.apple.com/ts01 "build/$OS_APP_NAME"
60+
codesign -s "OpenShot Studios, LLC" --force --deep --options runtime --timestamp=http://timestamp.apple.com/ts01 "build/$OS_APP_NAME"
6261

6362
echo "Verifying App Signing"
6463
spctl -a -vv "build/$OS_APP_NAME"

0 commit comments

Comments
 (0)