Live data from Hacker News

Making macOS Apps Uninstallable

notes.alinpanaitiu.com

91–100 of 208 posts

Re: Making macOS Apps Uninstallable

#91
post #4

Earlier quoted context omitted.

Nope, still leaves them behind. I’ve been using AppCleaner ( https://freemacsoft.net/appcleaner/ ) for years now and it’s a real neat (and free) app that’ll do a pretty decent job of cleaning up crud.

Homebrew Cask can remove application-generated files if you pass the --zap option to "brew rm". Cask definitions include a list of known paths to those.

Yeah, unless the definition doesn't include something

Re: Making macOS Apps Uninstallable

#92
post #2

I recently had to uninstall some apps and it’s common for apps to litter files throughout /Library and ~/Library. The UX from early MacOS days is you can drag/drop the App to the Trash Can to uninstall it. Does MacOS actually clean up the misc. files applications leave at some point?

[flagged]

The Windows apologists are non the wiser :). Windows still has no full uninstaller that can clean the registry droppings many apps leave and other files, requiring to use specialized apps for that. And sometimes it would also fail to uninstall the binary. And Windows bizarely needs to retain the huge installers, so that part is strictly worse vs Mac

Re: Making macOS Apps Uninstallable

#93
post #80

Earlier quoted context omitted.

Download > Drag into /Applications isn't easy enough for you?

If the app isn't signed (that's the so-called "developer tax", because it costs you USD100/year), then its: 1. Drag into Applications, try to open it, get warning. 2. Open System Preferences > Security & Privacy > General, click on lock, enter admin password, allow the app to be opened. So it's not as easy as it used to be.

Pretty sure it’s still right click open -> open. Security preferences override only happens for double click.

Re: Making macOS Apps Uninstallable

#94
post #80

Earlier quoted context omitted.

Download > Drag into /Applications isn't easy enough for you?

If the app isn't signed (that's the so-called "developer tax", because it costs you USD100/year), then its: 1. Drag into Applications, try to open it, get warning. 2. Open System Preferences > Security & Privacy > General, click on lock, enter admin password, allow the app to be opened. So it's not as easy as it used to be.

"right" click the app and select "Open" creates the same exception without the need to open settings. There's also an equivalent terminal command for the exception I can't remember.

If either of those aren't satisfying, you can always drop the check entirely which I can't personally recommend.

Re: Making macOS Apps Uninstallable

#95
post #33

Earlier quoted context omitted.

This is just unbelievable. The billion $$ company cant just automate the uninstall procedure for their users? How hard would it be to auto delete the contents of ~/Library? Or have some periodic auto clean? one can always dream, no? I wonder how many users that have uninstalled VMware still have 30 gigs of unused VMs lying around on their disk.

No. The user data, preferences etc under ~/Library/ belong to you - whether it's 3 kB of preference toggles or 3 decades of email. It would be "unbelievable" if a multibillion company decided to be helpful and erase your data just because you deleted the binary that created them (actually, it wouldn't, but let's not digress into how those companies are stripping away our agency by mobile-ossifying everything). The wh…

The helpful part would be for the huge company to give users visibility and an easy choice, not your simple "delete everything" strawman The data doesn't "belong to me", that entirely depends on the specific app/type of data (and this concept of a few kbs of very important stuff I've carefully changed in the app's settings menu and would even like to track in vcs vs all the other junk is also largely missing, though that's also on the app devs)

Re: Making macOS Apps Uninstallable

#96
post #85

Earlier quoted context omitted.

> 1) app is buggy and I'm trying to fix it by reinstalling from scratch You don't specify and it's highly dependent but in most cases when an app is misbehaving it's an issue with preferences. You can reset most apps with `defaults` without blowing away all its data. There are some intricacies with how macOS handles preferences, so you should avoid manually editing related .plist.

Note that if I am trying to fix an app that I want to keep using I sure as hell may want to keep the preferences. The case where I want it to auto clean up is where it is repeatedly broken and I never really got to using and configuring it yet. It's pretty rare.

> Note that if I am trying to fix an app that I want to keep using I sure as hell may want to keep the preferences.

Of course, `man defaults`. You can modify the preferences and potentially fix it, backup preferences, etc. Again I must stress that you use `defaults`, the .plist on disk isn't always accurate even if you terminate the app and reboot the machine.

> The case where I want it to auto clean up is where it is repeatedly broken and I never really got to using and configuring it yet. It's pretty rare.

There isn't really a one size fits all perfect automatic solution. Not all apps are good macOS citizens.

Re: Making macOS Apps Uninstallable

#97
post #33

Earlier quoted context omitted.

This is just unbelievable. The billion $$ company cant just automate the uninstall procedure for their users? How hard would it be to auto delete the contents of ~/Library? Or have some periodic auto clean? one can always dream, no? I wonder how many users that have uninstalled VMware still have 30 gigs of unused VMs lying around on their disk.

No. The user data, preferences etc under ~/Library/ belong to you - whether it's 3 kB of preference toggles or 3 decades of email. It would be "unbelievable" if a multibillion company decided to be helpful and erase your data just because you deleted the binary that created them (actually, it wouldn't, but let's not digress into how those companies are stripping away our agency by mobile-ossifying everything). The wh…

When I delete an app on an iPhone, all its data is also deleted. Gone. Why can't it be the same for the Mac?

That's what the average end-user understands by removing an app from the system nowadays.

Re: Making macOS Apps Uninstallable

#98
post #91

Earlier quoted context omitted.

Homebrew Cask can remove application-generated files if you pass the --zap option to "brew rm". Cask definitions include a list of known paths to those.

Yeah, unless the definition doesn't include something

It does, a lot of the time though. Casks are actively maintained and adding a missed file to the list is only a single pull request away.
Post reply on HN