Why are asar files case sensitive while electron is case insensitive (Windows)?


On Windows, I find it frustrating that electron is case-insensitive when developing with electron ., but paths in asar archives are case sensitive. This causes my app to not work after packaging if there’s a casing mismatch. I would much rather catch those problems earlier, while debugging.

Thoughts? Has anyone else had this problem?


Ideally, Electron apps are platform-independent. Linux and the Mac are both case-sensitive, so I’m more surprised that Electron is not case-sensitive than that ASAR is.


Yes, that makes sense. Making electron case-sensitive would solve this problem.