1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

fix(desktop_proxy): [PM-22452] Fix desktop_proxy signing for DMG

(cherry picked from commit aa4a9babc5)
This commit is contained in:
Daniel García
2025-06-18 21:56:56 +02:00
committed by Todd Martin
parent f325305627
commit bd734b962d

View File

@@ -89,7 +89,7 @@ async function run(context) {
} else {
// For non-Appstore builds, we don't need the inherit binary as they are not sandboxed,
// but we sign and include it anyway for consistency. It should be removed once DDG supports the proxy directly.
const entitlementsName = "entitlements.mac.plist";
const entitlementsName = "entitlements.mac.inherit.plist";
const entitlementsPath = path.join(__dirname, "..", "resources", entitlementsName);
child_process.execSync(
`codesign -s '${id}' -i ${packageId} -f --timestamp --options runtime --entitlements ${entitlementsPath} ${proxyPath}`,