mirror of
https://github.com/bitwarden/browser
synced 2026-02-16 08:34:39 +00:00
Fix build stuff
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user