Allow ARM64 as a synonym for aarch64 (#110)

This commit is contained in:
Dilum Aluthge
2022-06-23 14:00:43 -04:00
committed by GitHub
parent a07a9b4c49
commit 631e68d88a
2 changed files with 4 additions and 2 deletions

3
lib/installer.js generated
View File

@@ -33,7 +33,8 @@ const osMap = {
const archMap = {
'x86': 'i686',
'x64': 'x86_64',
'aarch64': 'aarch64'
'aarch64': 'aarch64',
'ARM64': 'aarch64'
};
// Store information about the environment
const osPlat = os.platform(); // possible values: win32 (Windows), linux (Linux), darwin (macOS)

View File

@@ -19,7 +19,8 @@ const osMap = {
const archMap = {
'x86': 'i686',
'x64': 'x86_64',
'aarch64': 'aarch64'
'aarch64': 'aarch64',
'ARM64': 'aarch64'
}
// Store information about the environment