find VLC.app/Contents/MacOS/plugins/*-type f -exec codesign --force-s"$IDENTITY"$OPTIONS'{}'\;
find VLC.app/Contents/MacOS/plugins/*-type f -exec codesign --force-s"$IDENTITY"$OPTIONS'{}'\;
...
@@ -77,25 +81,129 @@ then
...
@@ -77,25 +81,129 @@ then
info "Signing the lua stuff"
info "Signing the lua stuff"
find VLC.app/Contents/MacOS/share/lua/*-name*luac -type f -exec codesign --force-s"$IDENTITY"$OPTIONS'{}'\;
find VLC.app/Contents/MacOS/share/lua/*-name*luac -type f -exec codesign --force-s"$IDENTITY"$OPTIONS'{}'\;
else
else
REQUIREMENT="=designated => anchor apple generic and identifier \"org.videolan.vlc\" and ((cert leaf[field.1.2.840.113635.100.6.1.9] exists) or ( certificate 1[field.1.2.840.113635.100.6.2.6] exists and certificate leaf[field.1.2.840.113635.100.6.1.13] exists and certificate leaf[subject.OU] = \"75GAHG3SZQ\" ))"
IDENTIFIER="com.binarymethod.BGHUDAppKit"
info "Signing the executable"
FIRSTPARTOF_REQUIREMENT="=designated => anchor apple generic and identifier \""
SECONDPARTOF_REQUIREMENT="\" and ((cert leaf[field.1.2.840.113635.100.6.1.9] exists) or ( certificate 1[field.1.2.840.113635.100.6.2.6] exists and certificate leaf[field.1.2.840.113635.100.6.1.13] exists and certificate leaf[subject.OU] = \"75GAHG3SZQ\" ))"
info "Cleaning frameworks"
find VLC.app/Contents/Frameworks -type f -name".DS_Store"-execrm'{}'\;
find VLC.app/Contents/Frameworks -type f -name"*.textile"-execrm'{}'\;
find VLC.app/Contents/Frameworks -type f -name"*.txt"-execrm'{}'\;