Automatic merge branch 'main' into 'devel'

This commit is contained in:
github-actions[bot] 2023-11-15 12:57:12 +00:00 committed by GitHub
commit c29cb4b97f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,9 +31,16 @@ do
ARGUMENTS="${ARGUMENTS} -executable=${plugin}"
done
${QT_DIR}macdeployqt $INSTALL_PATH/$APPNAME \
$ARGUMENTS
# Make sure that deploy succeeds
if ${QT_DIR}macdeployqt $INSTALL_PATH/$APPNAME \
$ARGUMENTS; \
then
# remove everything from install path, except the appbundle
cd $INSTALL_PATH
ls | grep -xv "${APPNAME}" | xargs rm
# remove everything from install path, except the appbundle
cd $INSTALL_PATH
ls | grep -xv "${APPNAME}" | xargs rm
echo "$INSTALL_PATH is now a self contained meshlab application"
else
echo "macdeployqt failed with error code $?. Script was not completed successfully."
exit 1
fi