Make sure to code-sign all binaries in app bundle

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2024-09-11 21:56:03 +08:00 committed by backportbot[bot]
parent be7e3e7c19
commit 0c8ffdb49f

View file

@ -108,4 +108,8 @@ func codesignClientAppBundle(
path: appExtensionPath,
options: "--timestamp --force --verbose=4 --options runtime --entitlements \(tmpEntitlementXmlPath)")
}
// Now we do the final codesign bit
print("Code-signing Nextcloud Desktop Client binaries...")
try codesign(identity: codeSignIdentity, path: "\(clientContentsDir)/MacOS/*")
}