aftman icon indicating copy to clipboard operation
aftman copied to clipboard

Should treat tool specs as case insensitive

Open JohnnyMorganz opened this issue 2 years ago • 1 comments

Right now, aftman treats e.g. UpliftGames/[email protected] and upliftgames/[email protected] as separate tools and will install the latter again even if the former is already installed. They should instead be treated as the same tool.

I'm unsure however if there are any negative side effects for it being case insensitive

JohnnyMorganz avatar Jan 19 '23 23:01 JohnnyMorganz

Yeah, this is definitely something to fix. We can use manually implement PartialEq and Hash to use lowercase variants of names while preserving the original case.

LPGhatguy avatar Jan 20 '23 22:01 LPGhatguy