Fix the entitlements of QtWebEngine which prevent it to start on arm arches (#2794)

This commit is contained in:
rumtid 2024-07-03 17:17:01 +08:00 committed by GitHub
parent 96ec6a4178
commit fc65b0bc44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,13 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- These two restrictions must be lifted to make QtWebengine work -->
<!-- Entries are referenced from Qt/6.5.3/macos/lib/QtWebEngineCore.framework/Helpers/QtWebEngineProcess.app/Contents/Resources/QtWebEngineProcess.entitlements -->
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.disable-executable-page-protection</key>
<true/>
</dict>