mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
🐛 fix code signing and keyring access on macos
This commit is contained in:
parent
d00d023f53
commit
d683c842f3
1 changed files with 8 additions and 1 deletions
|
|
@ -192,8 +192,15 @@ if [ "$disable_submodule_update" == 1 ]; then
|
|||
"$POETRY_HOME/bin/poetry" run python "$openpype_root/tools/build_dependencies.py"
|
||||
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
# fix cx_Freeze libs issue
|
||||
echo -e "${BIGreen}>>>${RST} Fixing libs ..."
|
||||
mv "$openpype_root/build/OpenPype $openpype_version.app/Contents/MacOS/dependencies/cx_Freeze" "$openpype_root/build/OpenPype $openpype_version.app/Contents/MacOS/lib/"
|
||||
|
||||
# fix code signing issue
|
||||
codesign --remove-signature "$openpype_root/build/OpenPype $openpype_version.app/Contents/MacOS/lib/Python"
|
||||
echo -e "${BIGreen}>>>${RST} Fixing code signatures ..."
|
||||
codesign --remove-signature "$openpype_root/build/OpenPype $openpype_version.app/Contents/MacOS/openpype_console"
|
||||
codesign --remove-signature "$openpype_root/build/OpenPype $openpype_version.app/Contents/MacOS/openpype_gui"
|
||||
# codesign --remove-signature "$openpype_root/build/OpenPype $openpype_version.app/Contents/MacOS/lib/Python"
|
||||
if command -v create-dmg > /dev/null 2>&1; then
|
||||
create-dmg \
|
||||
--volname "OpenPype $openpype_version Installer" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue