I hate to be generous to Electron apps, but this wasn’t a trend set by them. The squircle thing happened directly in lockstep with macOS setting the expectation. Really good icons, even for Electron apps (VSCode is a prominent example), became indistinguishable practically overnight when the macOS design language was announced.