1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-12 14:34:02 +00:00

Force build

This commit is contained in:
Bernd Schoolmann
2024-11-08 03:36:16 +01:00
parent 6b04f0280e
commit da39fc7bba
2 changed files with 5 additions and 0 deletions

View File

@@ -153,9 +153,14 @@ switch (platform) {
localFileExisted = existsSync(
join(__dirname, 'desktop_napi.linux-x64-musl.node')
)
let glibcLocalFileExisted = existsSync(
join(__dirname, 'desktop_napi.linux-x64-gnu.node')
)
try {
if (localFileExisted) {
nativeBinding = require('./desktop_napi.linux-x64-musl.node')
} else if (glibcLocalFileExisted) {
nativeBinding = require('./desktop_napi.linux-x64-gnu.node')
} else {
nativeBinding = require('@bitwarden/desktop-napi-linux-x64-musl')
}

View File