alienator88 / Pearcleaner

A free, source-available and fair-code licensed mac app cleaner
https://itsalin.com/appInfo/?id=pearcleaner
Other
2.94k stars 66 forks source link

[BUG] Sequoia - Unable to confirm deletion through Touch ID #107

Closed alienator88 closed 1 week ago

alienator88 commented 1 week ago
          Unable to confirm deletion through Touch ID !

Is this linked to the above reported issue?

Screenshot 2024-09-19 at 1 53 41 AM

Originally posted by @mh-saeed in https://github.com/alienator88/Pearcleaner/issues/84#issuecomment-2359397338

alienator88 commented 1 week ago

Sequoia debug build for testing: Pearcleaner.zip

mh-saeed commented 1 week ago

No confirmation popup appears this time even when the option was enabled from settings.

alienator88 commented 1 week ago

Again wanted to mention that the Finder Extension in the Pearcleaner settings has nothing to do with this alert box: image

That alert box only comes up when Pearcleaner tells Finder to delete files in a root directory, like /var/db in your original screenshot. It won't come up for apps/files that are not in a root directory.

Can you test deleting an app that does have files in a root directory like the Battery Health 2 from before? Sometimes the authentication alert box might not come up if you already authenticated in the last 15 minutes. Depends.

alienator88 commented 1 week ago

Seems to be an issue with Script Editor not working with Touch ID anymore. Found a few posts like this: https://www.reddit.com/r/MacOS/comments/171mebu/script_editor_no_longer_asks_for_touchid_when/

mh-saeed commented 1 week ago

I got your point. Screen Recording 2024-09-19 at 10 55 28 PM

alienator88 commented 1 week ago

Unfortunately, unless Apple fixes allowing AppleScript to use TouchID again, it might not ever work. Really depends on them at this point. Pearcleaner needs to use AppleScript to execute the delete files action as I have to use Finder for that to allow for undo of deletion. I'll close this for now, but will keep an eye out for any changes later down the road, maybe they'll fix it.