Skip to content

Conversation

@kaadam
Copy link

@kaadam kaadam commented Jul 31, 2019

The main motivation is to support Dugite module on Windows on ARM64.
Since Git for Windows is not available on this architecture yet,
but Windows 10 allows x86 code to run on the ARM64 version of Windows 10.
We should download 'win32-ia32' binary in this case. Sometimes it would be
nice if the architecture could be configurable.

For example Electron relies on Dugite module. To build Electron
for Windows on ARM64 we use Windows x64 host machine. So during the npm install,
the Dugite script downloads x64 git binary based on host arch. However
that is not compatible with WoA. It needs to force to download x86 binary in this case.

The main motivation is to support Dugite module on Windows on ARM64.
Since Git for Windows is not available on this architecture yet,
but Windows 10 allows x86 code to run on the ARM64 version of Windows 10.
We should download 'win32-ia32' binary in this case. Sometimes it would be
nice if the architecture could be configurable.

For example Electron relies on Dugite module. To build Electron
for Windows on ARM64 we use Windows x64 host machine. So during the npm install,
the Dugite script downloads x64 git binary based on host arch. However
that is not compatible with WoA. It needs to force to download x86 binary in this case.
@outofambit
Copy link
Contributor

hi @kaadam, thanks for doing this work and my apologies for the long radio silence. i'm going to be merging #392 in the near-ish future. that will cover this functionality, so i'm going to close this PR. this PR was a helpful signal of interest and need for this feature and I'll be sure to give you a shout out in the release notes as well. thank you again!

@outofambit outofambit closed this Apr 10, 2020
@outofambit outofambit removed the request for review from shiftkey April 29, 2020 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants