1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 01:33:33 +00:00

initial sandbox implementation for mac app store builds

This commit is contained in:
John Harrington
2025-11-18 16:20:12 -07:00
parent 9efc31534b
commit f40233fce4
14 changed files with 601 additions and 8 deletions

View File

@@ -12,3 +12,12 @@ if (isRelease) {
}
execSync(`napi build --platform --js false`, { stdio: 'inherit', env: process.env });
/* Mac App Store build with sandboxing - Does this belong here?
const target = process.env.npm_config_target || '';
const featuresArg = target.includes('mas') ? '--features sandbox' : '';
execSync(`napi build --platform --js false ${featuresArg}`, { stdio: 'inherit', env: process.env });
*/