From 841d926de37f9fd8f70bdc4308814246359148b3 Mon Sep 17 00:00:00 2001 From: Dennis Ameling Date: Tue, 26 Nov 2024 15:45:29 +0100 Subject: [PATCH] Add Windows arm64 support 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: https://github.com/git-for-windows/git/issues/3107#issuecomment-2498275856 Signed-off-by: Dennis Ameling --- script/config.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/script/config.js b/script/config.js index 6f0b6911..ec5c75f4 100644 --- a/script/config.js +++ b/script/config.js @@ -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]