Skip to content

Commit

Permalink
feat: Add mapping for new arch arm64 (Apple M1)
Browse files Browse the repository at this point in the history
Now supports Darwin arm64 (aka M1, aka Apple Silicon)
  • Loading branch information
stefanhoth committed Jul 14, 2021
1 parent 4d4815a commit 0c44301
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nsd/nodejs/arch_darwin_arm64.go
Original file line number Diff line number Diff line change
@@ -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
)

0 comments on commit 0c44301

Please sign in to comment.