


INSTALLED=`/usr/libexec/plistbuddy -c Print:$BUNDLE: "/Applications/$1/Contents/ist"` If ] then BUNDLE="CFBundleVersion" else BUNDLE="CFBundleShortVersionString" fi If ] || ] then ] & return 1 ] & return 0 I used curl to download the Chrome installer script in memory on my VM and looked at it, here it is (I had tossed it in paste bin): #/bin/bashĬlear & rm -rf ~/macapps & mkdir ~/macapps > /dev/null & cd ~/macapps This is a pretty good way to get your Mac rooted, maybe a Trojan Horse installed, etc. Even though you may not be running the command as root or with sudo privileges there have been exploits out there like root pipe that can escalate themselves to root. Pipping a curl or wget command into a shell can be very dangerous.

Let me know if I missed anything important.Įdit: I almost forgot Windows Remix, which is basically Ninite but with a larger selection of software, but it is still in beta.I just wanted to chime and state the obvious here. There are some other variants on Chocolatey, but most of them are pretty much the same, with maybe a few different packages. There are also more traditional package managers, the most popular being Chocolatey, but unless you've been using a package manager for everything you've installed, at least when I tried it, you need to reinstall everything through the package manager for it to register. It does have a major downside in that silent installs can be a bit tricky, as you have to identify the type of installer to know which flag to use. Neither of these supported custom programs, so I kept looking and found Ketarin, which is a bit trickier to set up, but supports anything on FileHippo, and you can add just about any other program. I moved to PatchMyPc Updater, which has a much larger selection and automatically detects installed programs. Ninite is the most popular "package manager" for Windows, but I didn't like the limited selection.
