File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ var runtime = isElectron() ? 'electron' : (isNwjs() ? 'node-webkit' : 'node')
1313var arch = process . env . npm_config_arch || os . arch ( )
1414var platform = process . env . npm_config_platform || os . platform ( )
1515var libc = process . env . LIBC || ( isAlpine ( platform ) ? 'musl' : 'glibc' )
16- var armv = process . env . ARM_VERSION || ( arch === 'arm64' ? '8' : vars . arm_version ) || ''
16+ // ARMv7 detection patched to avoid arm_version === "default" on other arm systems than arm64 ones
17+ var armv = process . env . ARM_VERSION || ( arch === 'arm64' ? '8' : ( arch === 'arm' ? ( vars . arm_version === 'default' ? '7' : vars . arm_version ) : '' ) ) || ''
1718var uv = ( process . versions . uv || '' ) . split ( '.' ) [ 0 ]
1819
1920module . exports = load
You can’t perform that action at this time.
0 commit comments