mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Minor fixes to the Mac appbundle build
This commit is contained in:
parent
6458e4cafb
commit
3e743ad582
@ -162,8 +162,7 @@ _complete_bundle() {
|
||||
|
||||
# Remove the .pyc files if any
|
||||
cd "$BUILDROOT/$APP_BUNDLE_NAME"
|
||||
find . -name *.pyc | xargs rm -f
|
||||
|
||||
find . -name *.pyc | xargs rm -f
|
||||
}
|
||||
|
||||
_codesign_bundle() {
|
||||
|
@ -56,7 +56,7 @@ find "${BUNDLE}/Contents/Frameworks" -type d -name "P*framework" | while read -r
|
||||
# Create soft link to the framework Resources dir
|
||||
ln -s Versions/Current/Resources
|
||||
|
||||
# Create the Info.plist files
|
||||
# Create the Info.plist file
|
||||
MYNAME=`ls -1 Py*`
|
||||
sed 's/__SHORT_VERSION__/${PYTHON_SHORT_VERSION}/' "${SCRIPT_DIR}/Info.plist-template_Python" | sed 's/__FULL_VERSION__/${PYTHON_FULL_VERSION}/' | sed "s/__FRAMEWORK_NAME__/${MYNAME}/" > "Resources/Info.plist"
|
||||
|
||||
@ -73,6 +73,7 @@ codesign --verify --verbose --deep --force "${BUNDLE}"
|
||||
RETURN_STATUS=$?
|
||||
if [ $RETURN_STATUS -ne 0 ]; then
|
||||
echo Code signing did not work, check the log
|
||||
exit 1
|
||||
else
|
||||
echo ${BUNDLE} successfully signed
|
||||
fi
|
||||
|
@ -24,6 +24,7 @@ codesign --verify --verbose --force "${DMG_IMAGE}"
|
||||
RETURN_STATUS=$?
|
||||
if [ $RETURN_STATUS -ne 0 ]; then
|
||||
echo ERROR: Code signing did not work
|
||||
exit 1
|
||||
else
|
||||
echo ${DMG_IMAGE} successfully signed
|
||||
fi
|
Loading…
Reference in New Issue
Block a user