From 0c44301c8d13766daf26b26aecf4f30d6f02e4ff Mon Sep 17 00:00:00 2001 From: Stefan Hoth <45467+stefanhoth@users.noreply.github.com> Date: Wed, 14 Jul 2021 21:15:35 +0200 Subject: [PATCH] feat: Add mapping for new arch arm64 (Apple M1) Now supports Darwin arm64 (aka M1, aka Apple Silicon) --- nsd/nodejs/arch_darwin_arm64.go | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 nsd/nodejs/arch_darwin_arm64.go diff --git a/nsd/nodejs/arch_darwin_arm64.go b/nsd/nodejs/arch_darwin_arm64.go new file mode 100644 index 0000000..fbb4512 --- /dev/null +++ b/nsd/nodejs/arch_darwin_arm64.go @@ -0,0 +1,8 @@ +package nodejs + +// CurrentArch and CurrentURL describe how the URL of the nodejs download will look like +const ( + CurrentArch string = "darwin-x64" //until nodejs provides a specific image for arm64 we'll use x64 + CurrentURL DownloadURL = Stable + CurrentExtension FileExtension = TarXz +)