File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949 with :
5050 submodules : recursive
5151 - uses : distrho/dpf-cmake-action@v1
52+ env :
53+ MACOS_APP_CERTIFICATE : ${{ secrets.MACOS_APP_CERTIFICATE }}
54+ MACOS_INSTALLER_CERTIFICATE : ${{ secrets.MACOS_INSTALLER_CERTIFICATE }}
55+ MACOS_CERTIFICATE_PASSWORD : ${{ secrets.MACOS_CERTIFICATE_PASSWORD }}
56+ MACOS_NOTARIZATION_USER : ${{ secrets.MACOS_NOTARIZATION_USER }}
57+ MACOS_NOTARIZATION_PASS : ${{ secrets.MACOS_NOTARIZATION_PASS }}
58+ MACOS_NOTARIZATION_TEAM : ${{ secrets.MACOS_NOTARIZATION_TEAM }}
5259 with :
5360 dpf_path : .
5461 suffix : _14
6471 with :
6572 submodules : recursive
6673 - uses : distrho/dpf-cmake-action@v1
74+ env :
75+ MACOS_APP_CERTIFICATE : ${{ secrets.MACOS_APP_CERTIFICATE }}
76+ MACOS_INSTALLER_CERTIFICATE : ${{ secrets.MACOS_INSTALLER_CERTIFICATE }}
77+ MACOS_CERTIFICATE_PASSWORD : ${{ secrets.MACOS_CERTIFICATE_PASSWORD }}
78+ MACOS_NOTARIZATION_USER : ${{ secrets.MACOS_NOTARIZATION_USER }}
79+ MACOS_NOTARIZATION_PASS : ${{ secrets.MACOS_NOTARIZATION_PASS }}
80+ MACOS_NOTARIZATION_TEAM : ${{ secrets.MACOS_NOTARIZATION_TEAM }}
6781 with :
6882 dpf_path : .
6983 suffix : _15
Original file line number Diff line number Diff line change 4949 with :
5050 submodules : recursive
5151 - uses : distrho/dpf-makefile-action@v1
52+ env :
53+ MACOS_APP_CERTIFICATE : ${{ secrets.MACOS_APP_CERTIFICATE }}
54+ MACOS_INSTALLER_CERTIFICATE : ${{ secrets.MACOS_INSTALLER_CERTIFICATE }}
55+ MACOS_CERTIFICATE_PASSWORD : ${{ secrets.MACOS_CERTIFICATE_PASSWORD }}
56+ MACOS_NOTARIZATION_USER : ${{ secrets.MACOS_NOTARIZATION_USER }}
57+ MACOS_NOTARIZATION_PASS : ${{ secrets.MACOS_NOTARIZATION_PASS }}
58+ MACOS_NOTARIZATION_TEAM : ${{ secrets.MACOS_NOTARIZATION_TEAM }}
5259 with :
5360 dpf_path : .
5461 suffix : _14
6471 with :
6572 submodules : recursive
6673 - uses : distrho/dpf-makefile-action@v1
74+ env :
75+ MACOS_APP_CERTIFICATE : ${{ secrets.MACOS_APP_CERTIFICATE }}
76+ MACOS_INSTALLER_CERTIFICATE : ${{ secrets.MACOS_INSTALLER_CERTIFICATE }}
77+ MACOS_CERTIFICATE_PASSWORD : ${{ secrets.MACOS_CERTIFICATE_PASSWORD }}
78+ MACOS_NOTARIZATION_USER : ${{ secrets.MACOS_NOTARIZATION_USER }}
79+ MACOS_NOTARIZATION_PASS : ${{ secrets.MACOS_NOTARIZATION_PASS }}
80+ MACOS_NOTARIZATION_TEAM : ${{ secrets.MACOS_NOTARIZATION_TEAM }}
6781 with :
6882 dpf_path : .
6983 suffix : _15
Original file line number Diff line number Diff line change @@ -43,13 +43,17 @@ TARGETS += clap
4343TARGETS += au
4444
4545ifeq ($(MACOS_APP_BUNDLE ) ,true)
46+ aufiles += $(TARGET_DIR ) /$(NAME ) .component/Contents/Resources/index.html
47+ clapfiles += $(TARGET_DIR ) /$(NAME ) .clap/Contents/Resources/index.html
4648jackfiles += $(TARGET_DIR ) /$(NAME ) .app/Contents/Resources/index.html
49+ vst2files += $(TARGET_DIR ) /$(NAME ) .vst/Contents/Resources/index.html
4750else
51+ clapfiles += $(TARGET_DIR ) /$(NAME ) .clap/resources/index.html
4852jackfiles += $(TARGET_DIR ) /resources/index.html
53+ lv2files += $(TARGET_DIR ) /$(NAME ) .lv2/resources/index.html
54+ vst2files += $(TARGET_DIR ) /$(NAME ) .vst/resources/index.html
4955endif
5056
51- clapfiles += $(TARGET_DIR ) /$(NAME ) .clap/resources/index.html
52- vst2files += $(TARGET_DIR ) /$(NAME ) .vst/resources/index.html
5357vst3files += $(TARGET_DIR ) /$(NAME ) .vst3/Contents/Resources/index.html
5458
5559all : $(TARGETS ) $(jackfiles ) $(clapfiles ) $(vst2files ) $(vst3files )
Original file line number Diff line number Diff line change 2020 exit
2121fi
2222
23+ if [ -n " ${MACOS_APP_CERTIFICATE} " ] && [ -n " ${MACOS_INSTALLER_CERTIFICATE} " ] && [ -n " ${MACOS_CERTIFICATE_PASSWORD} " ]; then
24+ security create-keychain -p " " $( pwd) /keychain.db
25+ security unlock-keychain -p " " $( pwd) /keychain.db
26+ echo -n " ${MACOS_APP_CERTIFICATE} " | base64 --decode -o cert.p12
27+ security import cert.p12 -P " ${MACOS_CERTIFICATE_PASSWORD} " -A -t cert -f pkcs12 -k $( pwd) /keychain.db
28+ echo -n " ${MACOS_INSTALLER_CERTIFICATE} " | base64 --decode -o cert.p12
29+ security import cert.p12 -P " ${MACOS_CERTIFICATE_PASSWORD} " -A -t cert -f pkcs12 -k $( pwd) /keychain.db
30+ rm cert.p12
31+ # security set-key-partition-list -S apple-tool:,apple: -k "" $(pwd)/keychain.db
32+ security list-keychain -d user -s $( pwd) /keychain.db
33+ export MACOS_APP_DEV_ID=" $( security find-identity -v $( pwd) /keychain.db | grep ' Developer ID Application:' | head -n 1 | cut -d' ' -f 5-99 | sed ' s/\"//g' ) "
34+ export MACOS_INSTALLER_DEV_ID=" $( security find-identity -v $( pwd) /keychain.db | grep ' Developer ID Installer:' | head -n 1 | cut -d' ' -f 5-99 | sed ' s/\"//g' ) "
35+ fi
36+
2337# can be overridden by environment variables
2438MACOS_PKG_LICENSE_FILE=${MACOS_PKG_LICENSE_FILE:= " " }
2539MACOS_PKG_NAME=${MACOS_PKG_NAME:= " $( basename $( git rev-parse --show-toplevel) ) " }
You can’t perform that action at this time.
0 commit comments