commit 8030c6fb0d7413ea97dbc644d3b69a16843add68 parent a81bc2049033676275367bff0f1f800175ddec52 Author: Jatin Chowdhury <jatinchowdhury18@gmail.com> Date: Sat, 26 Jun 2021 21:59:10 -0700 Update build and install scripts Diffstat:
M | Plugin/Installers/mac/build_mac_installer.sh | | | 6 | ++++++ |
M | mac_builds.sh | | | 4 | ++-- |
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/Plugin/Installers/mac/build_mac_installer.sh b/Plugin/Installers/mac/build_mac_installer.sh @@ -31,6 +31,12 @@ productsign -s "$TEAM_ID" ../../build/CHOWTapeModel.pkg $pkg_dir/CHOWTapeModel-s echo "Notarizing installer package..." INSTALLER_PASS=$(more ~/Developer/mac_installer_pass) +# xcrun altool --notarize-app --file $pkg_dir/CHOWTapeModel-signed.pkg \ +# --primary-bundle-id com.chowdsp.CHOWTapeModel \ +# --username chowdsp@gmail.com \ +# --password "$INSTALLER_PASS" \ +# --asc-provider "$TEAM_ID" \ +# --output-format 'json' npx notarize-cli --file $pkg_dir/CHOWTapeModel-signed.pkg --bundle-id com.chowdsp.CHOWTapeModel --username chowdsp@gmail.com --password "$INSTALLER_PASS" --asc-provider "$TEAM_ID" echo "Building disk image..." diff --git a/mac_builds.sh b/mac_builds.sh @@ -39,8 +39,8 @@ echo "Running AU validation..." rm -Rf ~/Library/Audio/Plug-Ins/Components/${plugin}.component sudo rm -Rf /Library/Audio/Plug-Ins/Components/${plugin}.component cp -R build/${plugin}_artefacts/Release/AU/${plugin}.component ~/Library/Audio/Plug-Ins/Components -manu=$(cut -f 10 -d ' ' <<< "$(grep 'PLUGIN_MANUFACTURER_CODE' CMakeLists.txt | head -1)") -code=$(cut -f 10 -d ' ' <<< "$(grep 'PLUGIN_CODE' CMakeLists.txt | head -1)") +manu=$(grep 'PLUGIN_MANUFACTURER_CODE' CMakeLists.txt | head -1 | awk '{print $NF}') +code=$(grep 'PLUGIN_CODE' CMakeLists.txt | head -1 | awk '{print $NF}') set +e auval_result=$(auval -v aufx "$code" "$manu")