Skip to content

Commit

Permalink
Codesign webengineprocess with correct entitlements on macOS with mac…
Browse files Browse the repository at this point in the history
… crafter

Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra committed Sep 30, 2024
1 parent f7a138a commit 89b1328
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion admin/osx/mac-crafter/Sources/Utils/Codesign.swift
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ func codesignClientAppBundle(
print("Code-signing QtWebEngineProcess...")
let qtWebEngineProcessPath =
"\(frameworksPath)/QtWebEngineCore.framework/Versions/A/Helpers/QtWebEngineProcess.app"
try codesign(identity: codeSignIdentity, path: qtWebEngineProcessPath)
try codesign(identity: codeSignIdentity,
path: qtWebEngineProcessPath,
options: "--timestamp --force --verbose=4 --options runtime --deep --entitlements \(qtWebEngineProcessPath)/Contents/Resources/QtWebEngineProcess.entitlements")

print("Code-signing QtWebEngine...")
try codesign(identity: codeSignIdentity, path: "\(frameworksPath)/QtWebEngineCore.framework")
Expand Down

0 comments on commit 89b1328

Please sign in to comment.