Earlier quoted context omitted.
> App data should fall into an predictable folder regardless of the location from where is ran In fact, App Store apps are guaranteed to do that (by being in a closed sandbox); that's why Apple has an uninstallation procedure only for App Store apps. > specify in a manifest what files and where will them be stored, and explicitly specify it they should be automatically deleted or not after moving the app to the trash…
"Would you like to allow your toaster to make toast?" "Please grant your refrigerator permission to store milk."
Making macOS Apps Uninstallable
101–110 of 208 posts
Re: Making macOS Apps Uninstallable
#102Uninstallable is nice, but how about something on making apps not in the app store trivially installable without developers paying Apple a ransom fee? Oh that's right, we can't control that, just have to pay the tax.
> Uninstallable is nice, but how about something on making apps not in the app store trivially installable without developers paying Apple a ransom fee? Isn't that what the article shows how to do?
Re: Making macOS Apps Uninstallable
#103By now the filesystem permissions hierarchy really should be extended into Group → User → App.
You can see the half-baked workarounds many operating systems use like controlling access to entire folders like Documents, Downloads, Photos etc.
Why not just make it fine-grained and let us permit and deny apps' access to individual files, and see which app created which file?
Re: Making macOS Apps Uninstallable
#104Earlier 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…
It means both cannot be installed and can be uninstalled, depending on context.
Re: Making macOS Apps Uninstallable
#105Earlier quoted context omitted.
The OS also doesn’t know when you uninstall an app whether the app is really gone. You could have copied it to a network drive first, or maybe you have a different version of the app in a folder somewhere. Who knows?
Apps that install persistent services typically check if the .app bundle exists in applications so in most cases just trashing the .app is enough to stop any errant left overs from executing.
Re: Making macOS Apps Uninstallable
#106Somehow I misread the title as making apps impossible to remove, glad to see it was the opposite. It's the second time I read about Lunar, and my curiosity led me to their impressive monitor database: https://db.lunar.fyi/
Weird, so did I! Why!?
After reading it again, there are still an ambiguity though: impossible to install, or that you can uninstall?
Re: Making macOS Apps Uninstallable
#107Re: Making macOS Apps Uninstallable
#108Earlier quoted context omitted.
Most windows installers do not bother to clean up /Program Data or ~/AppData Nor do most linux programs remove dot files when they go away.
Especially ~/AppData (and ~/Library) is problematic because the person uninstalling the app might not be the person who was previously using the app. Reaching into another account‘s home directory to remove stuff feels very intrusive. Which would mean that any uninstall trying to also clean out library data is going to be incomplete. I think the consistent behavior of always keeping it is a win
Re: Making macOS Apps Uninstallable
#109Somehow I misread the title as making apps impossible to remove, glad to see it was the opposite. It's the second time I read about Lunar, and my curiosity led me to their impressive monitor database: https://db.lunar.fyi/
Re: Making macOS Apps Uninstallable
#110Earlier quoted context omitted.
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 i…