From cf8251bf6c26104d7d62bcedec5e95f643ebf7d4 Mon Sep 17 00:00:00 2001 From: Putta Khunchalee Date: Sun, 10 Mar 2024 17:39:56 +0700 Subject: [PATCH] Enables com.apple.security.hypervisor on macOS (#737) --- .github/workflows/ci-mac.yml | 2 ++ .github/workflows/{pr.yml => pr-build.yml} | 0 entitlements.plist | 8 ++++++++ 3 files changed, 10 insertions(+) rename .github/workflows/{pr.yml => pr-build.yml} (100%) create mode 100644 entitlements.plist diff --git a/.github/workflows/ci-mac.yml b/.github/workflows/ci-mac.yml index a7f73a9c..a48b42e0 100644 --- a/.github/workflows/ci-mac.yml +++ b/.github/workflows/ci-mac.yml @@ -129,6 +129,8 @@ jobs: otool -L "$app" otool -L "$krn" + - name: Sign kernel + run: codesign -s - --entitlements entitlements.plist dist/Obliteration.app/Contents/MacOS/obkrnl - name: Create Apple Disk Image run: hdiutil create -volname Obliteration -srcfolder dist Obliteration.dmg - name: Upload artifacts diff --git a/.github/workflows/pr.yml b/.github/workflows/pr-build.yml similarity index 100% rename from .github/workflows/pr.yml rename to .github/workflows/pr-build.yml diff --git a/entitlements.plist b/entitlements.plist new file mode 100644 index 00000000..ff778e73 --- /dev/null +++ b/entitlements.plist @@ -0,0 +1,8 @@ + + + + + com.apple.security.hypervisor + + +