mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-11-11 07:41:04 +00:00
inferOs: Add support for arm64 (#1037)
Tested on a Pinebook Pro running elementary OS
This commit is contained in:
parent
e24b22ea7f
commit
1c06af23fa
@ -19,7 +19,7 @@ export function inferPlatform(): string {
|
||||
|
||||
export function inferArch(): string {
|
||||
const arch = os.arch();
|
||||
if (arch !== 'ia32' && arch !== 'x64' && arch !== 'arm') {
|
||||
if (arch !== 'ia32' && arch !== 'x64' && arch !== 'arm' && arch !== 'arm64') {
|
||||
throw new Error(`Incompatible architecture ${arch} detected`);
|
||||
}
|
||||
log.debug('Inferred arch', arch);
|
||||
|
Loading…
Reference in New Issue
Block a user