#!/bin/sh
set -e
case "$CARGO_PKG_NAME" in
"openvmm"|"tmk_vmm")
# Add entitlements for using hypervisor framework.
entitlements=$(dirname "$0")/entitlements.xml
codesign --entitlements "$entitlements" -f -s - "$1" > /dev/null
;;
*)
;;
esac
exec "$@"microsoft/openvmm
Publicmirrored fromhttps://github.com/microsoft/openvmmAvailable
build_support/macos/sign_and_run.sh
15lines · modepreview