Skip to content

Commit b000217

Browse files
committed
postinstall only check for DRM releases on linux ARM
1 parent ea69a12 commit b000217

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/postinstall.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ async function main () {
5757
console.error(e.message)
5858
}
5959

60-
if (process.arch === 'arm' || process.arch === 'arm64') {
60+
if (process.platform === 'linux' && (process.arch === 'arm' || process.arch === 'arm64')) {
6161
targetPath = path.join(__dirname, '..', 'build', 'Release', 'node-raylib-drm.node')
6262
url = `https://github.com/RobLoach/node-raylib/releases/download/v${process.env.npm_package_version}/node-raylib-${process.platform}-${process.arch}-drm.node`
6363
try {

0 commit comments

Comments
 (0)