Newer
Older
Import / applications / MakePDF / Build / tools / macOS / mk-installer.sh
@John John on 29 Dec 2020 721 bytes bulk import from macbookpro checkouts
#!/bin/bash


. ./.config
TARGET="${APP_NAME}"


xattr -rc                     "${TARGET}.app"
${QTDIR}/bin/macdeployqt      "${TARGET}.app" \
                              -codesign=-
#                              -dmg
#                              -no-plugins
#                              -executable="${TARGET}.app/Contents/MacOS/${TARGET}"
# ./fix_webengine_deploy.sh     "${TARGET}.app"
# codesign -s -                 "${TARGET}.app"


#
# Docs on using create-dmg:
#   https://github.com/andreyvit/create-dmg
#

create-dmg --volname "${TARGET} Installer" \
           --volicon "${TARGET}.app/Contents/Resources/${TARGET}.icns" \
           "${TARGET}-${APP_VERSION}-x86_64.dmg" \
           "${TARGET}.app"