by adamomada · 4y ago · 0 comments
Does anyone have any idea on how you could make a wrapper that would be able to do this? If that’s possible, the next step would be to figure out how to have launchd use the wrapper. Or even better, swap out the Application.app with the wrapper and make the actual application hidden like .Application.app, or inside the wrapper, or …?
The wrapper would stamp itself and the original with the bundle id so when you do a find on the xattr of the bundle you get a definitive list of every last trace of everything on the filesystem related to the application.
Perhaps the wrapper would have a special case of documents created and saved in normal user home directories, so e.g. your ~/Documents/todo.txt created in MacVim doesn’t get the macvim tag
The reason for all this?
Some commercial software offers a trial and some licensing systems out there spew obfuscated files in weird places, that aren’t easily identified as belonging to the app or the licensing framework.