Skip to content

Commit

Permalink
Add Windows arm64 support
Browse files Browse the repository at this point in the history
Now that Git for Windows supports arm64 natively, we can start using it.

Ref: https://github.com/git-for-windows/git/releases/tag/v2.47.1.windows.1
Ref: git-for-windows/git#3107 (comment)
Signed-off-by: Dennis Ameling <dennis@dennisameling.com>
  • Loading branch information
dennisameling committed Nov 26, 2024
1 parent e7ff009 commit 841d926
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions script/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ function getConfig() {
arch = process.env.npm_config_arch
}

if (process.platform === 'win32' && arch === 'arm64') {
// Use the Dugite Native ia32 package for Windows arm64 (arm64 can run 32-bit code through emulation)
console.log('Downloading 32-bit Dugite Native for Windows arm64')
arch = 'ia32'
}

const key = `${process.platform}-${arch}`

const entry = embeddedGit[key]
Expand Down

0 comments on commit 841d926

Please sign in to comment.