Following what I was saying below, if you remove the getOSName file you could presumably just change this line to `if (/^Win/.test(platform))` (similarly for the other conditions).