dugite icon indicating copy to clipboard operation
dugite copied to clipboard

fix: on linux fall back to native arch if npm_config_arch is not resolved

Open MarshallOfSound opened this issue 3 years ago • 2 comments

As of https://github.com/desktop/dugite/pull/392 anyone running dugite on linux with npm_config_arch=ia32 set will be unable to use dugite where they previously could. This at least gets it working again by falling back to os.arch() if the npm_config_arch binary couldn't be located.

Technically fixes a breaking change

MarshallOfSound avatar Jul 09 '20 17:07 MarshallOfSound

@dennisameling would you mind taking a look at this when you have a moment since you authored #392? Thanks!

niik avatar Nov 05 '20 15:11 niik

Sure, will have a look in a few hours from now!

dennisameling avatar Nov 05 '20 15:11 dennisameling