1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-04 18:53:20 +00:00
pnpm runs the postinstall script for apps/desktop, the electron-rebuild
binary isn't in PATH. The binary is at root node_modules/.bin/, but the
script runs from apps/desktop/.
This commit is contained in:
Anders Åberg
2025-12-16 11:09:04 +01:00
parent cb619ddb84
commit aa5fb77427

View File

@@ -16,7 +16,7 @@
},
"license": "GPL-3.0",
"scripts": {
"postinstall": "electron-rebuild",
"postinstall": "npx electron-rebuild",
"start": "cross-env ELECTRON_IS_DEV=0 ELECTRON_NO_UPDATER=1 electron ./build",
"build-native-macos": "cd desktop_native && ./macos_provider/build.sh && node build.js cross-platform",
"build-native": "cd desktop_native && node build.js",