Skip to content

Commit

Permalink
Update 64-bit ARM detection to use (official?) 'arm64' identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
lovell committed Apr 17, 2017
1 parent 567e3dd commit fc1a356
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions binding.js
Expand Up @@ -42,8 +42,8 @@ const unpack = function (tarPath, done) {

const platformId = function () {
const platformId = [platform];
if (arch === 'arm' || arch === 'armhf' || arch === 'arch64') {
const armVersion = (arch === 'arch64') ? '8' : process.env.npm_config_armv || process.config.variables.arm_version || '6';
if (arch === 'arm' || arch === 'armhf' || arch === 'arm64') {
const armVersion = (arch === 'arm64') ? '8' : process.env.npm_config_armv || process.config.variables.arm_version || '6';
platformId.push('armv' + armVersion);
} else {
platformId.push(arch);
Expand Down

0 comments on commit fc1a356

Please sign in to comment.