microsoft/openvmm

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
e6a1eca0ac970ac1b75f1b4ea3ba48c126ddd5ea

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")
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