1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-16 08:34:39 +00:00

Fix build stuff

This commit is contained in:
Isaiah Inuwa
2025-11-06 07:56:12 -06:00
parent f0f6ef9654
commit fee9a96a65
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ $backupDataFile = "C:\temp\bw-data.json"
$comLogFile = "C:\temp\bitwarden_com_debug.log"
# Build Appx
npm run build:dev && npm run pack:win:arm64
npm run build-native && npm run build:dev && npm run pack:win:arm64
# Backup tokens
Copy-Item -Path "$bwFolder\LocalCache\Roaming\Bitwarden\data.json" -Destination $backupDataFile

View File

@@ -34,7 +34,7 @@ function buildNapiModule(target, release = true) {
function buildProxyBin(target, release = true) {
const targetArg = target ? `--target ${target}` : "";
const releaseArg = release ? "--release" : "";
const xwin = target.includes('windows') && process.platform !== "win32" ? "xwin" : "";
const xwin = target && target.includes('windows') && process.platform !== "win32" ? "xwin" : "";
child_process.execSync(`cargo ${xwin} build --bin desktop_proxy ${releaseArg} ${targetArg}`, {stdio: 'inherit', cwd: path.join(__dirname, "proxy")});
if (target) {