TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Making macOS Apps Uninstallable

296 pointsby alin23over 2 years ago

14 comments

mdmglrover 2 years ago
I recently had to uninstall some apps and it’s common for apps to litter files throughout &#x2F;Library and ~&#x2F;Library.<p>The UX from early MacOS days is you can drag&#x2F;drop the App to the Trash Can to uninstall it.<p>Does MacOS actually clean up the misc. files applications leave at some point?
评论 #34842081 未加载
评论 #34841866 未加载
评论 #34846238 未加载
评论 #34842588 未加载
评论 #34846452 未加载
评论 #34843534 未加载
评论 #34843271 未加载
评论 #34844149 未加载
评论 #34843909 未加载
synchronizingover 2 years ago
Been using AppCleaner[0] with great success for years now.<p>[0] <a href="https:&#x2F;&#x2F;freemacsoft.net&#x2F;appcleaner&#x2F;" rel="nofollow">https:&#x2F;&#x2F;freemacsoft.net&#x2F;appcleaner&#x2F;</a>
评论 #34845076 未加载
Razenganover 2 years ago
This actually points to an underlying weakness of the Unix&#x2F;macOS permissions system: There is no concept of <i>apps.</i><p>By now the filesystem permissions hierarchy really should be extended into Group → User → App.<p>You can see the half-baked workarounds many operating systems use like controlling access to entire folders like Documents, Downloads, Photos etc.<p>Why not just make it fine-grained and let us permit and deny apps&#x27; access to individual files, and see which app created which file?
评论 #34845585 未加载
pnm45678over 2 years ago
&gt; Well, looks like we got a working uninstaller with a good user experience for free.<p>Yes, but the downside is that you&#x27;re now relying on an unstable interface (as I understand it, this behaviour is not documented as a contract anywhere). Apple would be free to break you at any time.
评论 #34843008 未加载
mrtesthahover 2 years ago
I was disappointed by not finding a tutorial on how to create an app that no user could ever install successfully.
评论 #34843923 未加载
评论 #34845297 未加载
Hackbratenover 2 years ago
Last time I checked, you could use `brew uninstall --cask --force --zap` to uninstall an app thoroughly.<p>That would work reliably for me, even for installs not actually managed by Homebrew.
评论 #34845926 未加载
detritesover 2 years ago
Why are an applications files physically moved elsewhere in the first place? Simply leave everything in the app bundle, and put symlinks for anything the OS is expecting elsewhere. Cleaning up app deletion would then be pruning dead symlinks.<p>Such a system could also potentially be enforced. Is it a symlink? If &quot;yes&quot; allow the write to ~&#x2F;Library or wherever else. If not, deny it.<p>Genuine question: is there some reason not to do this?
评论 #34845188 未加载
idianalover 2 years ago
As mentioned elsewhere, the trusted workaround is AppCleaner (<a href="https:&#x2F;&#x2F;freemacsoft.net&#x2F;appcleaner&#x2F;" rel="nofollow">https:&#x2F;&#x2F;freemacsoft.net&#x2F;appcleaner&#x2F;</a>). I just wish it was open source.<p>An attempt at an open source AppCleaner, I worked on a script, called zap (<a href="https:&#x2F;&#x2F;github.com&#x2F;idianal&#x2F;zap">https:&#x2F;&#x2F;github.com&#x2F;idianal&#x2F;zap</a>), that aims to replicate much of the same functionality (without a GUI). The benefit for users is they can see exactly what it is doing on their computer.<p>Here I outline the limitations: <a href="https:&#x2F;&#x2F;idian.io&#x2F;posts&#x2F;2022&#x2F;writing-an-app-uninstaller-for-macos&#x2F;" rel="nofollow">https:&#x2F;&#x2F;idian.io&#x2F;posts&#x2F;2022&#x2F;writing-an-app-uninstaller-for-m...</a>.
ambersahdevover 2 years ago
That&#x27;s neat! Recently I&#x27;ve been looking for resources on getting a py2app MacOS app notarized by Apple but haven&#x27;t been able to find any precedent. Would love to see a tutorial for that too since you guys seems to be domain experts in this
ok_computerover 2 years ago
question:has anyone succeeded in uninstalling kite (python autocomplete for spyder) at all locations.<p>I was tricked into selecting to install it one time installing anaconda&#x2F;spyder. I’ve since removed all of that including anaconda and followed the now scrubbed uninstall instructions on their (defunct kite’s) website.<p>However a .kite folder keeps showing up in my ~&#x2F;<p>I’ve deleted tons of times and searched thru &#x2F;library and ~&#x2F;library<p>I resorted to locking .kite hoping that if some hidden process were using it it won’t have write access anymore. But admittedly I have no idea what’s creating this dir and the reason for it or if I defeated it by locking that .kite folder down.<p>Thx
评论 #34842860 未加载
franky47over 2 years ago
Somehow I misread the title as making apps impossible to remove, glad to see it was the opposite.<p>It&#x27;s the second time I read about Lunar, and my curiosity led me to their impressive monitor database: <a href="https:&#x2F;&#x2F;db.lunar.fyi&#x2F;" rel="nofollow">https:&#x2F;&#x2F;db.lunar.fyi&#x2F;</a>
评论 #34844677 未加载
评论 #34845301 未加载
评论 #34844897 未加载
throwaway892238over 2 years ago
The thing I hate more than anything else about technology is when people make things that are intentionally shitty, for no other reason than they want it to be shitty.<p><pre><code> &quot;Hello billion dollar company, I would like a way to install and uninstall my software in your operating system.&quot; &quot;No.&quot; &quot;Wh.... huh? Please?&quot; &quot;Pay us money and go through our app store.&quot; &quot;Um....why? No? Please? Can&#x27;t you just let me make software and give it to users, without going through you?&quot; &quot;No.&quot; &quot;Why not?&quot; &quot;We don&#x27;t like it when you do that.&quot; &quot;So?&quot; &quot;So you only get to do what we say, how we say.&quot; &quot;Why?&quot; &quot;It makes us happy.&quot; &quot;And what about the users&#x27; happiness?&quot; *laughs in dollar bills*</code></pre>
评论 #34843652 未加载
评论 #34843092 未加载
评论 #34843655 未加载
frisiaover 2 years ago
Maybe just me but I think the title is worth changing to &quot;Enabling macOS Apps To Be Uninstalled&quot; to prevent ambiguity
评论 #34845756 未加载
评论 #34845743 未加载
PaulDavisThe1stover 2 years ago
Uninstallable is nice, but how about something on making apps <i>not</i> in the app store trivially installable without developers paying Apple a ransom fee?<p>Oh that&#x27;s right, we can&#x27;t control that, just have to pay the tax.
评论 #34843783 未加载
评论 #34843676 未加载
评论 #34843658 未加载