From 3cf558cb84d47e25dce3d302a5f0b6fb1c2db498 Mon Sep 17 00:00:00 2001 From: okdistribute <633012+okdistribute@users.noreply.github.com> Date: Thu, 26 Mar 2020 13:31:00 -0700 Subject: [PATCH] fix: use node.napi for utp-native build --- package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.sh b/package.sh index 6649488b..ef0c08d4 100755 --- a/package.sh +++ b/package.sh @@ -2,7 +2,7 @@ # couldnt figure out undocumented 'output template' mode for pkg so wrote this # also need to include .node files until pkg supports including them in binary -NODE_ABI="node" +NODE_ABI="node.napi" VERSION=$(node -pe "require('./package.json').version") rm -rf dist