Copied proper mac signing to 2_1_11
@@ -82,6 +82,12 @@ VERSION_NAME=thonny-$VERSION-$ARCHITECTURE
sed -i.bak "s/VERSION/$VERSION/" build/Thonny.app/Contents/Info.plist
rm -f build/Thonny.app/Contents/Info.plist.bak
+# sign frameworks and app ##############################
+codesign -s "Aivar Annamaa" --keychain ~/Library/Keychains/login.keychain build/Thonny.app/Contents/Frameworks/Tcl.framework
+codesign -s "Aivar Annamaa" --keychain ~/Library/Keychains/login.keychain build/Thonny.app/Contents/Frameworks/Tk.framework
+codesign -s "Aivar Annamaa" --keychain ~/Library/Keychains/login.keychain build/Thonny.app/Contents/Frameworks/Python.framework
+codesign -s "Aivar Annamaa" --keychain ~/Library/Keychains/login.keychain build/Thonny.app
+
# add readme #####################################################################
cp readme.txt build
@@ -92,5 +98,5 @@ rm -f $FILENAME
hdiutil create -srcfolder build -volname "Thonny $VERSION" $FILENAME
hdiutil internet-enable -yes $FILENAME
-# sign ######################
+# sign dmg ######################
codesign -s "Aivar Annamaa" --keychain ~/Library/Keychains/login.keychain $FILENAME
\ No newline at end of file
