Entitlement to sign the QtWebEngineProcess with an exception.
authorCamila San <hello@camila.codes>
Thu, 17 Sep 2020 18:06:52 +0000 (20:06 +0200)
committerMichael Schuster (Rebase PR Action) <misch7@users.noreply.github.com>
Fri, 18 Sep 2020 04:35:06 +0000 (04:35 +0000)
Fix for #1793: The problem seems to be related enabling hardened runtime.
This exception allows the webview to load.

Signed-off-by: Camila San <hello@camila.codes>
admin/osx/CMakeLists.txt
admin/osx/QtWebEngineProcess.entitlements [new file with mode: 0644]

index 55130798b13a67932bca3e66c521366ef5826ad7..67229c4e93468e3ccc9a633e7476078547bae49f 100644 (file)
@@ -16,3 +16,4 @@ configure_file(create_mac.sh.cmake ${CMAKE_CURRENT_BINARY_DIR}/create_mac.sh)
 configure_file(macosx.pkgproj.cmake ${CMAKE_CURRENT_BINARY_DIR}/macosx.pkgproj)
 configure_file(pre_install.sh.cmake ${CMAKE_CURRENT_BINARY_DIR}/pre_install.sh)
 configure_file(post_install.sh.cmake ${CMAKE_CURRENT_BINARY_DIR}/post_install.sh)
+configure_file(QtWebEngineProcess.entitlements ${CMAKE_CURRENT_BINARY_DIR}/QtWebEngineProcess.entitlements)
diff --git a/admin/osx/QtWebEngineProcess.entitlements b/admin/osx/QtWebEngineProcess.entitlements
new file mode 100644 (file)
index 0000000..6801546
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+    <key>com.apple.security.cs.disable-executable-page-protection</key>
+    <true/>
+</dict>
+</plist>