alienator88 / Pearcleaner

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

[BUG] Can't delete applications from the App Store #7

Closed Anitoxx closed 6 months ago

Anitoxx commented 6 months ago

Every applications in the App Store can't be deleted (for example Mindnote, or Proton Pass).

If this is normal, it should perhaps be specified in the "Help" section (I'm thinking about a link to a F.A.Q. page in the github project for example).

alienator88 commented 6 months ago

Hey, sorry for the delay. Holidays and all that. I'll look into it, might take me a bit longer than usual since everything is so hectic right now :)

alienator88 commented 6 months ago

Speaking of..I just tried deleting one of my apps downloaded from the App Store and it was able to get deleted without issue. It popped up and asked me to input my admin password. When you try to delete an App Store app, do you get a popup asking to input your computer password? And does this happen with all App Store apps or just some? Another thing to check is if you have the Accessibility permission enabled okay as it uses that to trash the files and ask for the admin password.

Anitoxx commented 6 months ago

It seems to happen on all of the apps from the App Store,

Indeed, I noticed iMovie, which comes from the App Store but it's a native application, so it's probably different.

I did a test, I tried to install Capcut from their dmg file, it of course appears on Pearcleaner (by the way, I found one leftover of Capcut in the library file (in Finder, "Go > Press Option > Find "Library") it's the UserData, and there is a lot of subfolders inside), and when I install it from the App Store, it still appears in Pearcleaner.

However, "Proton Pass" application in the App Store doesn't get detected in Pearcleaner, even when updated.

alienator88 commented 6 months ago

I downloaded Proton Pass and when I look in the app bundle it has a really odd structure. It's nothing like a regular app image

It makes sense why it's not being found by Pearcleaner, there's no info.plist file in there. I'll need to look into it a bit and see where it stores all the details.

alienator88 commented 6 months ago

It actually seems to be an iOS app wrapped to run on Mac, so that might be the distinction here.

alienator88 commented 6 months ago

Just pushed out v1.8 which should be able to handle wrapped iOS apps. I tested other App Store apps on my end that are regular mac apps and it uninstalls them fine.

Anitoxx commented 6 months ago

Hey, just to say it works fine, thank you.

I love the "ios" logo aside of the app's name, nice detail. Thank you to make this app exist.

alienator88 commented 6 months ago

Glad to hear it's working! Thanks for finding this bug :)