Minor change - needed to update the path to prebuilds for pkg built CLI versions.

This commit is contained in:
mike12345567 2023-05-16 12:37:28 +01:00
parent aa13a6284b
commit 549f7e452d
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ if (!process.argv[0].includes("node")) {
} }
function checkForBinaries() { function checkForBinaries() {
const readDir = join(__filename, "..", "..", PREBUILDS, ARCH) const readDir = join(__filename, "..", "..", "..", PREBUILDS, ARCH)
if (fs.existsSync(PREBUILD_DIR) || !fs.existsSync(readDir)) { if (fs.existsSync(PREBUILD_DIR) || !fs.existsSync(readDir)) {
return return
} }