forked from LeenkxTeam/LNXSDK
Update
This commit is contained in:
@ -29,7 +29,12 @@ function sysdir() {
|
||||
return 'freebsd_x64';
|
||||
}
|
||||
else {
|
||||
return 'macos';
|
||||
if (os.arch() === 'arm64')
|
||||
return 'macos_arm64';
|
||||
else if (os.arch() === 'x64')
|
||||
return 'macos_x64';
|
||||
else
|
||||
throw 'Unsupported CPU';
|
||||
}
|
||||
}
|
||||
exports.sysdir = sysdir;
|
||||
|
||||
Reference in New Issue
Block a user