Update dependencies

This commit is contained in:
hensm
2022-01-10 15:26:45 +00:00
parent 6f2bfb0340
commit 7ab541643a
10 changed files with 14728 additions and 1339 deletions

View File

@@ -58,7 +58,6 @@ if (!supportedArchs.includes(argv.arch)) {
}
const ROOT_PATH = path.join(__dirname, "..");
const SRC_PATH = path.join(ROOT_PATH, "src");
const BUILD_PATH = path.join(ROOT_PATH, "build");
const spawnOptions = {
@@ -133,7 +132,7 @@ async function build() {
await pkg.exec([
path.join(BUILD_PATH, "src"),
"--target",
`node12-${paths.pkgPlatformMap[process.platform]}-${argv.arch}`,
`node16-${paths.pkgPlatformMap[process.platform]}-${argv.arch}`,
"--output",
path.join(BUILD_PATH, executableName)
]);