Skip to content

Commit d3f6a72

Browse files
authored
Merge pull request #322 from mobile-bungalow/main
potential fix for #308
2 parents fa68a71 + 1df149e commit d3f6a72

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.github/workflows/build-workspace.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ jobs:
202202
run: |
203203
pkgbuild --install-location /Applications --component build/ntsc-rs-standalone/ntsc-rs.app --min-os-version $MACOSX_DEPLOYMENT_TARGET --compression latest build/ntsc-rs-macos-standalone.pkg
204204
pkgbuild --install-location /Library/OFX/Plugins --component build/ntsc-rs-openfx/NtscRs.ofx.bundle --min-os-version $MACOSX_DEPLOYMENT_TARGET --compression latest build/ntsc-rs-macos-openfx.pkg
205-
pkgbuild --install-location "/Library/Application Support/Adobe/Common/Plug-ins/7.0/MediaCore" --component build/ntsc-rs-afterfx/ntsc-rs.plugin --min-os-version $MACOSX_DEPLOYMENT_TARGET --compression latest build/ntsc-rs-macos-afterfx.pkg
205+
pkgbuild --install-location "/Library/Application Support/Adobe/Common/Plug-ins/7.0/MediaCore" --component build/ntsc-rs-afterfx/ntsc-rs.plugin --min-os-version $MACOSX_DEPLOYMENT_TARGET --scripts assets/install_scripts --compression latest build/ntsc-rs-macos-afterfx.pkg
206206
207207
- name: Archive .pkg installers
208208
uses: actions/upload-artifact@v4

assets/install_scripts/postinstall

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env sh
2+
set -e
3+
4+
PLUGIN_BUNDLE="$DSTROOT/ntsc-rs.plugin"
5+
6+
if [ -d "$PLUGIN_BUNDLE" ]; then
7+
echo "Signing After Effects plugin with ad-hoc signature..."
8+
/usr/bin/codesign --force --deep --sign - "$PLUGIN_BUNDLE"
9+
echo "After Effects plugin signed successfully."
10+
else
11+
echo "After Effects plugin not found at expected location. Skipping signing."
12+
exit 1
13+
fi
14+
15+
exit 0

0 commit comments

Comments
 (0)