Closed paalb closed 1 month ago
You need to give the app extra access permissions in System Settings > Privacy & Security > Files & Folders
or, after you've inspected the code and are comfortable the app doesn't do anything untoward, you could go to System Settings > Privacy & Security > Full Disk Access
and add it there so you're never bothered again for this app.
By default I only gave it access and the ability to prompt for access to the most common recommended folders. That's basically Downloads, and the user selected locations.
Without the additional permissions might see different behaviour adding files through the file selector than drag and drop.
I've improved the README file with some of this info.
Love the idea, thanks for open sourcing!
System Settings > Privacy & Security > Files & Folders
this isn't possible on MacOS Sonoma as far as I can tell, if the application doesn't prompt there is no way to manually grant it permissions to specific places. For me this resulted in silent failure to launch things.System Settings > Privacy & Security > Full Disk Access
this sort of works, but for many things launch will still fail, for example if I install a website as an app using Safari I'll get an error like this when Stapler tries to launch it:
Something odd going on here, as I am developing it on Sonoma.
System Settings > Privacy & Security > Files & Folders
good point, this will only show directories the app has prompted for and you have approved (and in 1.0 and 1.1 this app will only prompt for Downloads, iirc)System Settings > Privacy & Security > Full Disk Access
this should be enough.Could it be that Stapler is running under App Translocation? Whilst it's not running, move it out of /Applications (to, say, ~/Documents) and then back to /Applications and then try again. Let me know.
Also, you will probably need to redo any docs/items that were created before granting permission.
Urgh, I do hate modern macOS "security" focus, it's so offensive to users and developers alike.
Here I am running a Google Sheets "Save to Dock" web app @invig (double-click to launch coming in 1.2)
https://github.com/user-attachments/assets/cead2216-4bb3-4aa2-a79f-82341e7d27cc
I'm going to add com.apple.security.files.all
to the app entitlements https://github.com/gingerbeardman/stapler/commit/88ee5380c3b808eb9e870a7c68e22b547e89eb0f
This won't allow it on the Mac App Store, but I have no intention of submitting it so...
Will release in 1.2
I get a prompt and it opens the file in downloads. But not the one in miniconda3.
And not the files in Diverse