- Companies choose Electron to reduce the cost of supporting Windows and Mac, which has the side effect of making Linux supported easily even if the market isn't there. People sure like to complain about Electron but it has been very beneficial for Linux desktops.
- Selling Linux software has always been hard, mainly due to piracy and a widespread aversion to closed-source software within Linux users. With subscription business models being more popular/acceptable nowadays, which comes along a requirement to be always-online, such services are more easily available on Linux too.
For example Linux has VSCode, Spotify, 1password, Bitwarden, Obsidian, Slack, Discord, Skype, Typora, Simplenote, Inkdrop, Wordpress, Microsoft Teams, Zoom, Signal, Atom, Ghost… It has improved drastically from even just 10 years ago, when almost no popular software/service was available.
And that's not mentioning the general shift to using webapps instead of desktop apps (Google Workspace, Office 365, most email services, Jira, Github, Asana…), which obviously makes Linux much more viable.