alienator88 / Pearcleaner

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

[BUG] App deletion doesn't work in 3.5.2 #48

Closed makoni closed 2 months ago

makoni commented 2 months ago

Describe the bug

Nothing happens on clicking the delete button for an app. The app disappears from the apps list in Pearcleaner but all the files stays untouched.

To Reproduce Steps to reproduce the behavior:

  1. Select an app
  2. Click on the red trash button when the app will find all the files

Expected behavior

The app and it's files gets deleted

Desktop (please complete the following information):

Additional context

The app is in ~/Applications folder if it matters. I checked Console.app for some errors and found:

[0x147cfee70] activating connection: mach=false listener=false peer=false name=com.apple.finder.FinderSync.IsExtensionEnabled
[0x147cfee70] invalidated because the current process cancelled the connection by calling xpc_connection_cancel()

default 15:49:57.356915+0300    Pearcleaner Error: {
    NSAppleScriptErrorAppName = Finder;
    NSAppleScriptErrorBriefMessage = "Handler can\U2019t handle objects of this class.";
    NSAppleScriptErrorMessage = "Finder got an error: Handler can\U2019t handle objects of this class.";
    NSAppleScriptErrorNumber = "-10010";
    NSAppleScriptErrorRange = "NSRange: {29, 576}";
}

Also checked the app prefs and all the permissions seems to be granted:

Screenshot 2024-04-24 at 16 17 22
alienator88 commented 2 months ago

Hey thanks for catching that. I was able to repro the issue as well. I pulled 3.5.2 for now and will re-upload once fixed.

alienator88 commented 2 months ago

Found the issue, I'll get a new version out soon

alienator88 commented 2 months ago

Fixed in v3.5.3