mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
♻️ change macos installer
This commit is contained in:
parent
c64925fb66
commit
3137644299
2 changed files with 5 additions and 5 deletions
2
setup.py
2
setup.py
|
|
@ -152,7 +152,7 @@ build_exe_options = dict(
|
|||
)
|
||||
|
||||
bdist_mac_options = dict(
|
||||
bundle_name="OpenPype",
|
||||
bundle_name=f"OpenPype {__version__}",
|
||||
iconfile=mac_icon_path
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -193,15 +193,15 @@ if [ "$disable_submodule_update" == 1 ]; then
|
|||
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
# fix code signing issue
|
||||
codesign --remove-signature "$openpype_root/build/OpenPype.app/Contents/MacOS/lib/Python"
|
||||
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 Installer" \
|
||||
--volname "OpenPype $openpype_version Installer" \
|
||||
--window-pos 200 120 \
|
||||
--window-size 600 300 \
|
||||
--app-drop-link 100 50 \
|
||||
"$openpype_root/build/OpenPype-Installer.dmg" \
|
||||
"$openpype_root/build/OpenPype.app"
|
||||
"$openpype_root/build/OpenPype-Installer-$openpype_version.dmg" \
|
||||
"$openpype_root/build/OpenPype $openpype_version.app"
|
||||
else
|
||||
echo -e "${BIYellow}!!!${RST} ${BIWhite}create-dmg${RST} command is not available."
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue