mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 22:33:35 +00:00
fix(desktop_proxy): [PM-22452] Fix desktop_proxy signing for DMG
This commit is contained in:
@@ -89,7 +89,7 @@ async function run(context) {
|
|||||||
} else {
|
} else {
|
||||||
// For non-Appstore builds, we don't need the inherit binary as they are not sandboxed,
|
// 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.
|
// 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);
|
const entitlementsPath = path.join(__dirname, "..", "resources", entitlementsName);
|
||||||
child_process.execSync(
|
child_process.execSync(
|
||||||
`codesign -s '${id}' -i ${packageId} -f --timestamp --options runtime --entitlements ${entitlementsPath} ${proxyPath}`,
|
`codesign -s '${id}' -i ${packageId} -f --timestamp --options runtime --entitlements ${entitlementsPath} ${proxyPath}`,
|
||||||
|
|||||||
Reference in New Issue
Block a user