tigase / homebrew-tigase

Tigase's Homebrew repository
https://tigase.net
Apache License 2.0
2 stars 2 forks source link

Mark Beagle resource locations for `brew zap` #11

Closed michaelblyons closed 4 years ago

michaelblyons commented 4 years ago

I don't know if I'm doing this right. I used the Firefox cask.rb as an example and added the results of

find ~/Library -name '*[bB]eagle*' 2>/dev/null
find ~/Library -name '*tigase*' 2>/dev/null

If there are other paths, they can be added. If any of the stuff is common downloads (i.e. not person-specific), you can move those to a rmdir array alongside the trash one.

hantu85 commented 4 years ago

BeagleIM uses sandboxing on macOS which is a feature provided by Apple, to containerize application data and restrict access of the application to the filesystem. As a result of that BeagleIM keeps all its files within a single directory ~/Library/Containers/org.tigase.messenger.BeagleIM (actually, app has access only to this directory and linked directories to which it has links within this directory).

Due to that, I would say that while those find queries will work (I suppose so), usage of the directory mentioned above would be enough.

hantu85 commented 4 years ago

Please keep in mind that removal of those directories will lead to the removal of message history, OMEMO keys, etc.

michaelblyons commented 4 years ago

Please keep in mind that removal of those directories will lead to the removal of message history, OMEMO keys, etc.

Understood. That's why there are two different commands available.

woj-tek commented 4 years ago

zap indeed seems useful to keep system clean and tidy.