halo / LinkLiar

:link: Link-Layer MAC spoofing GUI for macOS
http://halo.github.io/LinkLiar
MIT License
1.23k stars 84 forks source link

It's still in Background apps list #65

Closed yelloduxx closed 1 week ago

yelloduxx commented 2 months ago

I have uninstalled the app (the 4th version delta), but it's still in background running apps list. How can I remove it? MBA 15 M3 Sonoma 14.5

CleanShot 2024-06-10 at 22 17 41

halo commented 2 months ago

Hi! Thank you for asking.

If you delete LinkLiar.app and restart your computer, there should be no reference to it any longer.

If that does not work, you could try to remove it with this button in the LinkLiar settings:

Screenshot 2024-06-11 at 10 44 57

Let me know how it goes.

yelloduxx commented 2 months ago

Hi, Halo!

Nope, it didn't work. I tried to uninstall it with mac options (to remove linkliar from apps to the bin) and rebbot, it didn't work. Then I installed it again, unregistered the daemon, deleted it via special app cleaner and rebooted, but it didn't work too. But then I installed CleanMyMac X and it said that some app was uninstalled incorrectly. I clicked on "remove" and it removed it completely, and it solved the issue.

halo commented 2 months ago

Interesting. One thing I noticed: I'm confident, that the latest version (4.0.0) should have an icon here:

Screenshot 2024-06-11 at 18 45 17

But you didn't have an icon in your screenshot.

Did you have a previous version of LinkLiar installed before? Because earlier versions are a little harder to uninstall.

yelloduxx commented 2 months ago

the latest version (4.0.0) should have an icon here

It had the icon before removing. After uninstalling it had no icon, but still it was in background running apps list

Did you have a previous version of LinkLiar installed before? Because earlier versions are a little harder to uninstall.

No, only the latest

halo commented 1 week ago

I could not find anything that would allow me to remove the item from the list programmatically. I'm using the function [unregister](https://developer.apple.com/documentation/servicemanagement/smappservice/unregister()) to undo background service. It does unregister the daemon but that apparently doesn't remove anything from the list (think of the list like a list of things you might wish to authorize again in the future).

There is a command sfltool resetbtm that you can run in Terminal to clear the cache of that list. It completely removes all items and repopulates them "without ghosts" after a reboot.

Screenshot 2024-08-13 at 14 20 48

I suspect that CleanMyMac X does something similar to clearing the list cache, but I haven't been able to figure out what exactly.

Previous research:

You are completely right to report this issue, but until there is an official way by Apple to solve this problem, I'd like to close it. I will add instructions to the uninstall section though, to alleviate the confusion.