Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xan105 committed May 10, 2024
1 parent fa806df commit 8327a64
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion binding.gyp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"targets": [{
"target_name": "winVerifyTrust",
"target_name": "winVerifyTrust.napi",
"cflags!": [ "-fno-exceptions" ],
"cflags_cc!": [ "-fno-exceptions" ],
"sources": [
Expand Down
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ found in the LICENSE file in the root directory of this source tree.
import { join, extname } from "node:path";
import { find, load } from "node-gyp-load";
import { exists } from "@xan105/fs";
import { dirname, resolve } from "@xan105/fs/path";
import { resolve } from "@xan105/fs/path";
import { Failure, errorLookup } from "@xan105/error";
import { isString, isStringNotEmpty, isObjLike } from "@xan105/is";
import { shouldStringNotEmpty, shouldObjLike } from "@xan105/is/assert";

//Load bindings
const bindings = await find({
name: "winVerifyTrust",
dir: join(dirname(import.meta.url), "../"),
dir: join(import.meta.dirname, "../"),
prebuild: true
});

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"install": "node-gyp-load",
"build:x86": "node-gyp rebuild --arch=ia32",
"build:x64": "node-gyp rebuild --arch=x64",
"build:arm64": "node-gyp rebuild --arch=arm64",
"clean": "node-gyp clean",
"lint": "eslint \"./lib/**/*.{js,mjs}\" \"./types/**/*.d.ts\"",
"test": "tap \"./test/**/*.js\" --no-coverage --no-coverage-report",
Expand Down
Binary file added prebuilds/win32-arm64/winVerifyTrust.napi.node
Binary file not shown.

0 comments on commit 8327a64

Please sign in to comment.