microsoft/openvmm

Public

mirrored fromhttps://github.com/microsoft/openvmmAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
191dd827d047f7a93c67878632576e56ce03c041

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

build_support/macos/sign_and_run.sh

15lines · modecode

1#!/bin/sh
2
3set -e
4
5case "$CARGO_PKG_NAME" in
6 "openvmm"|"tmk_vmm")
7 # Add entitlements for using hypervisor framework.
8 entitlements=$(dirname "$0")/entitlements.xml
9 codesign --entitlements "$entitlements" -f -s - "$1" > /dev/null
10 ;;
11 *)
12 ;;
13esac
14
15exec "$@"
16