The official install instructions for Spotify are to copy-paste and execute some script which then downloads stuff and then use the downloaded file inside a comand executed as a super user. Same for VS Code:
The classical Windows flow of download a random executable installer from the internet, it is automatically scanned by an antivirus, execute it, get a notification about its signature, and only afterwards maybe get a request for admin rights, is superior to sudo-wget:
People WILL download and execute shit from the internet. It is better to provide warnings where risk is involved instead of normalizing the riskiest path. sudo-wget is like unprotected sex during a one night stand.
so in a manner of speaking, microsoft platformed it. wateringhole/supply chain attack, that promised to fill a void and also created a browser hijack experience, rich in scam ads and promotionals.
They use shady hackers as an excuse to build their walled gardens which creates more shady hackers.