Make $(Architecture)
initialization resilient against pre-set values in $env
#2842
Labels
Enhancement Requested
Product code improvement that does NOT require public API changes/additions
Milestone
See cmderdev/cmder#2290 for details.
cmder sets
$env:architecture
to values like32
,64
, which confuses this logic.https://github.com/cmderdev/cmder/blob/1071221468f2f75f2b63e482deab69c9ca986219/vendor/init.bat#L125-L132
This only affects dev-builds, and only on some alternate-consoles. Still the fix is trivial and we can make this logic a bit resilient.
The text was updated successfully, but these errors were encountered: