Skip to content

Commit

Permalink
Update createbundle.sh
Browse files Browse the repository at this point in the history
add signature for Thonny
  • Loading branch information
Michael Bonani committed Jun 28, 2022
1 parent cb5a9a4 commit 3a1eb77
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions osx/createbundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ done

for app in "AsebaStudio" "AsebaPlayground" "ThymioVPLClassic"
do
echo "Signing $APPS_DIR/$app.app/ with $DIR/inherited.entitlements"
echo "Signing $APPS_DIR/$app.app/"

for fw in $(ls "$APPS_DIR/$app.app/Contents/Frameworks")
do
Expand All @@ -152,6 +152,25 @@ do
sign --options=runtime $(realpath "$APPS_DIR/$app.app/")
done

for app in "Thonny"
do
echo "Signing $APPS_DIR/$app.app/"

for fw in $(ls "$APPS_DIR/$app.app/Contents/Frameworks")
do
echo "Signing $DEST/Contents/Frameworks/$fw"
sign $(realpath "$APPS_DIR/$app.app/Contents/Frameworks/$fw")
done

for py in $(find $APPS_DIR/$app.app/Contents/MacOS -name '*.py')
do
echo "Signing $py"
sign $(realpath "$py")
done

sign --options=runtime $(realpath "$APPS_DIR/$app.app/")
done

echo "Signing $DEST/Contents/Frameworks/QTWebEngineCore.framework/Versions/5/Helpers/QtWebEngineProcess.app"
sign --options=runtime --entitlements "$DIR/QtWebEngineProcess.entitlements" $(realpath $DEST/Contents/Frameworks/QtWebEngineCore.framework/Versions/Current/Helpers/QtWebEngineProcess.app)

Expand Down Expand Up @@ -192,4 +211,4 @@ if [ -n "$DMG" ]; then
"$DMG_DIR/ThymioSuite.app"

sign -f "$1"
fi
fi

0 comments on commit 3a1eb77

Please sign in to comment.