@linebridge/engine-neo 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/install.mjs +2 -1
  2. package/package.json +1 -1
package/install.mjs CHANGED
@@ -16,7 +16,8 @@ const pkgJson = JSON.parse(
16
16
  const REPO = "ragestudio/linebridge"
17
17
  const VERSION = process.env.npm_package_version || pkgJson.version
18
18
 
19
- const BIN_NAME = `uws-wrapper-${platform}-${arch}.node`
19
+ const nodeMajor = process.versions.node.split(".")[0]
20
+ const BIN_NAME = `uws-wrapper-${platform}-${arch}-node${nodeMajor}.node`
20
21
  const DOWNLOAD_URL = `https://github.com/${REPO}/releases/download/engine-neo-v${VERSION}/${BIN_NAME}`
21
22
  const DEST_FILE = path.join(__dirname, "uws-wrapper.node")
22
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linebridge/engine-neo",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },