mirror of
https://github.com/bitwarden/browser
synced 2025-12-21 10:43:35 +00:00
chromium importer working in sandbox
This commit is contained in:
@@ -28,7 +28,11 @@ let crossPlatform = process.argv.length > 2 && process.argv[2] === "cross-platfo
|
||||
function buildNapiModule(target, release = true) {
|
||||
const targetArg = target ? `--target ${target}` : "";
|
||||
const releaseArg = release ? "--release" : "";
|
||||
child_process.execSync(`npm run build -- ${releaseArg} ${targetArg}`, { stdio: 'inherit', cwd: path.join(__dirname, "napi") });
|
||||
child_process.execSync(`npm run build -- ${releaseArg} ${targetArg}`, {
|
||||
stdio: 'inherit',
|
||||
cwd: path.join(__dirname, "napi"),
|
||||
env: process.env // Pass environment variables including SANDBOX_BUILD
|
||||
});
|
||||
}
|
||||
|
||||
function buildProxyBin(target, release = true) {
|
||||
|
||||
Reference in New Issue
Block a user