-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Will uninstaller like AppTrap or AppZapper still work with brew cask ? #3132
Comments
Hi! We don't address this directly. We currently supply an Any research on how AppZapper interacts with install via homebrew-cask would be very welcomed. If there are any changes we need to make to interact more smoothly with AppZapper, we would be happy to work on that. |
Currently researching
|
dtrace is also good to know. |
@rolandwalker |
Hi! Currently homebrew-cask just deletes. If there is a technical advantage to using the Trash we could certainly consider it. Truthfully, we are better at installing than un-installing -- at this alpha stage -- and very much still working on it. Moving an App to the Trash is straightforward; uninstalling a pkg is a little more tricky. You can't be sure that the pkg owns every file under some parent dir until you have walked the whole tree. If there is an interface for us to communicate with AppTrap directly, we'd also consider that. We currently maintain special cases to work smoothly with Alfred. |
Hey @rolandwalker Thanks again for your attention and time :) |
Hello everyone. Adding cask support to AppTrap shouldn't be difficult. I'm definitely open to it. It's really just a matter of the interface between AppTrap and homebrew-cask. The implementation that would be simplest for me would be to add an observer for a distributed notification from NSDistributedNotificationCenter. However, I believe that would require that homebrew-cask use the ruby cocoa bridge. Anyway, I'm open to ideas. :) |
@luzpaz There are 2 types of file; both are reasonable to want to control:
AppTrap specializes in (2). We are still working on (1) but would not mind to help out with (2) if we can. The current state of homebrew-cask on (1) is mixed. The code is quite good at installing, but when it comes to un-installing, it is dependent on the particular Cask definition as to how well it can un-install. homebrew-cask doesn't (yet) keep its own record of all the files that were installed. This is an active area of development. See #3066 , which is a start on the "bookkeeping" we need in order to do accurate uninstalls, upgrades etc. As to obtaining a listing: currently, if the installation is a plain App, not a It's not perfect. After we merge #3066 and various other fundamental "building blocks", we can give the user more information and more control -- which we very much want to do. |
@kvijayan thanks! I'll look into it. |
@rolandwalker @kvijayan thanks so much for your effort to post here and share + making AppTrap. 👍 |
There’s |
When an application is installed in addition to being copied locally it also writes a .plist to the /Library/ and embeds files in other different locations. Un-installers like the ones mentioned make note of that and when said application is uninstalled the uninstaller is invoked (like apptrap) to clean up any remnants. How does homebrew-cask address this?
The text was updated successfully, but these errors were encountered: