Enables com.apple.security.hypervisor on macOS (#737)

This commit is contained in:
Putta Khunchalee 2024-03-10 17:39:56 +07:00 committed by GitHub
parent a77f6f187d
commit cf8251bf6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 10 additions and 0 deletions

View File

@ -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

8
entitlements.plist Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.hypervisor</key>
<true/>
</dict>
</plist>