gingerbeardman / stapler

My take on the classic Macintosh app Stapler (with a little bit of LaunchList)
https://blog.gingerbeardman.com/2024/08/10/stapler-i-remade-a-32-year-old-classic-macintosh-app/
MIT License
238 stars 10 forks source link

Does not work, no rights even with full disk access #8

Closed runxel closed 3 months ago

runxel commented 3 months ago

Gave Stapler full disk access, I still can not get it to work. Instead it always complains about not having any rights: grafik

gingerbeardman commented 3 months ago

Please try the troubleshooting steps in this comment: https://github.com/gingerbeardman/stapler/issues/6#issuecomment-2284942961

The problem is a permissions issue local to your machine and setup.

runxel commented 3 months ago

I'm also on Sonoma. Still doesn't work. Two clues:

  1. It only works with documents who are in "Downloads", not if anywhere else.
  2. Opening (read: double click) a Stapler doc does not open the items and closes. Instead it just shows the UI with the items that are in the doc.
gingerbeardman commented 3 months ago

Given that the app works, the problem is specific to your setup. We need to figure out what/why, so answers or results to the troubleshooting steps are essential :)

Please try the following approach to figuring if the app is running in translocation mode (from here)

In Terminal, whilst Stapler is running: ps xw | grep Stapler

I see:

% ps xw | grep Stapler
59298   ??  S      0:00.36 /Applications/Stapler.app/Contents/MacOS/Stapler

For an app running under Translocation, you'd see something like

% ps xw | grep Stapler
59298   ??  S      0:00.36 /private/var/folders/x4/1234/T/AppTranslocation/5678/d/Stapler.app/Contents/MacOS/Stapler

Please let me know what you see!

gingerbeardman commented 3 months ago

Good news! I've been able to change my system setup to reproduce this.

Will fix it as soon as possible.

runxel commented 3 months ago

Very cool! What's the culprit?

Might not be relevant anymore, but this is what I got:

~►ps xw | grep Stapler
33128   ??  S      0:00.24 /Applications/Stapler.app/Contents/MacOS/Stapler
~►ps xw | grep Stapler
33247   ??  S      0:00.18 /Users/runxel/Downloads/Stapler.app/Contents/MacOS/Stapler
gingerbeardman commented 3 months ago

no real idea right now, but at least i can reproduce it :)

  1. drag add item from somewhere other than Downloads
  2. launch the item successfully
  3. save doc
  4. quit and relaunch the app
  5. try to launch the same item - fails

I released 1.2.1 but it's just to test notarization, the problem remains

gingerbeardman commented 3 months ago

Woop!

Fixed in 1.2.2 https://github.com/gingerbeardman/stapler/releases/tag/1.2.2