It assume it will severely limit its uptake.
If I had to pick one platform to build on, it would be linux. Pretty much every platform has the ability to run linux executables (via Docker, among others).
If this is a personal project, that's cool, but then I really don't care that much. On the other hand, I think an electron-like with something like Bun could be really useful.
At least here in the US, the majority of developers daily drive macs on their desktop. Even (especially!) the ones that deploy exclusively on linux.
Having to run a docker container to get the dev env setup would be even more likely to slow adoption. Nobody wants to do that shit.