We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea69a12 commit b000217Copy full SHA for b000217
1 file changed
tools/postinstall.js
@@ -57,7 +57,7 @@ async function main () {
57
console.error(e.message)
58
}
59
60
- if (process.arch === 'arm' || process.arch === 'arm64') {
+ if (process.platform === 'linux' && (process.arch === 'arm' || process.arch === 'arm64')) {
61
targetPath = path.join(__dirname, '..', 'build', 'Release', 'node-raylib-drm.node')
62
url = `https://github.com/RobLoach/node-raylib/releases/download/v${process.env.npm_package_version}/node-raylib-${process.platform}-${process.arch}-drm.node`
63
try {
0 commit comments