From 398b3a5116ded8b94ad795f5bf488231bfb5f4a7 Mon Sep 17 00:00:00 2001 From: tylinux Date: Tue, 18 Jan 2022 13:52:12 +0800 Subject: [PATCH] build: fix dyld load error on Apple Silicon --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 0602f32..1341bc8 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ }, "scripts": { "install": "node-gyp-build", - "prebuild": "prebuildify --napi --tag-armv", + "prebuild": "prebuildify --napi --electron-compat", "prepack": "[ $(ls prebuilds | wc -l) = '6' ] || (echo 'Some prebuilds are missing'; exit 1)", "test": "mocha --expose-gc -s 1000 -t 5000", "prepare": "npm run prepare-win32 || true", @@ -48,6 +48,6 @@ "bl": "^4.1.0", "jshint": "^2.12.0", "mocha": "^8.3.1", - "prebuildify": "^3.0.4" + "prebuildify": "^5.0.0" } -} +} \ No newline at end of file