mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
chromium importer working in sandbox
This commit is contained in:
@@ -11,7 +11,12 @@ if (isRelease) {
|
||||
process.env.RUST_LOG = 'debug';
|
||||
}
|
||||
|
||||
execSync(`napi build --platform --js false`, { stdio: 'inherit', env: process.env });
|
||||
const featuresArg = process.env.SANDBOX_BUILD === '1' ? '--features sandbox' : '';
|
||||
if (featuresArg) {
|
||||
console.log('Building with sandbox feature enabled.');
|
||||
}
|
||||
|
||||
execSync(`napi build --platform --js false ${featuresArg}`, { stdio: 'inherit', env: process.env });
|
||||
|
||||
|
||||
/* Mac App Store build with sandboxing - Does this belong here?
|
||||
|
||||
Reference in New Issue
Block a user