Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
3-manifolds
GitHub Repository: 3-manifolds/Sage_macOS
Path: blob/main/bin/sign_app
170 views
#!/bin/bash
set -e
source IDs.sh
SAGE_VERSION=`bin/get_sage_version`
SAGE_DASH_VERSION=$(echo $SAGE_VERSION | sed s/\\\./\\\-/g)
DIST=SageMath-$SAGE_VERSION
APP=$DIST/SageMath-$SAGE_DASH_VERSION.app
OPTIONS="-v --entitlements entitlement.plist --timestamp --options runtime --force"
codesign -s $DEV_ID $OPTIONS $APP/Contents/MacOS/SageMath
codesign -s $DEV_ID $OPTIONS $APP