And now I'm needing to sniff your OS, detect whether or not Homebrew is installed, install it if not, then install Bash >3, then run the actual meat of the script.
All because of Apple's lawyers being scared of GPLv3.
At this point, I may as well insist that you install pyenv and Poetry and deliver it as a Python package.
OpenBSD uses pdksh, Busybox/NetBSD/Minix use ash, there are some linux distros that use zsh, OpenSolaris is ksh, etc.
You already have to deal with platform-specific differences even (nay - especially!) across Linux with things like apt vs yum vs dnf vs pacman vs Nix. One more is really a non-issue.
If your development team doesn't have the time and resources to support a multi-platform development environment, they shouldn't do so.
Apple didn't change their business model, the GPL changed their license, and it's a license that's simply not compatible with any closed-source software business. Does your employer let you integrate GPL v3 code into your products?
Well neither would the code we're developing either so, not really a problem.
> Does your employer let you integrate GPL v3 code into your products?
Oh, most definitely. But then none of our products are closed-source, so we're an outlier, admittedly.
So, I don’t think it makes sense to criticize macOS for being different than Linux. I can’t run my systemd units in macOS, either.
We might as well raise hell about Apple not pre-installing Firefox for us.
I mean, I use Fish, but when I'm writing shell scripts for others, it's Bash, because it's a common default. But now I'm limited to Bash 3.
But I'm glad that they got rid of that stupid bar, and let you get a laptop with 32G of RAM now. So kind of Apple!