Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Persistent Permissions Request. #34

Open
yarub123 opened this issue Sep 8, 2024 · 2 comments
Open

Persistent Permissions Request. #34

yarub123 opened this issue Sep 8, 2024 · 2 comments

Comments

@yarub123
Copy link

yarub123 commented Sep 8, 2024

Watsup man. Hope you're well as always. A few weeks back (on an issue where I answered someone for font change inside dict-entry.css) you mentioned you updated Betterdict so i decided to update today (also for the sake of the updated ExtraPane).

Anyways I had this Persistent Permissions issue before as well.

  • When AlfredExtraPane.app starts, it requests permissions for the Downloads/Documents folders.
  • After restarting the computer or quitting and reopening the app, the same permissions request appears, even though permissions are correctly set in System Settings.

I faced a similar issue in version 0.2.8 and managed to fix it, but I can’t recall the exact steps. I think it involved moving the app to the desktop and then back into the workflow directory, but I didn’t document how I fixed it 😩.

Things I tried:

  • removing the com.apple.quarantine attribute in both the AlfredExtraPane.app & the Unix AlfredExtraPane... since i had those attributes removed for the 0.2.8 version...
  • that didn't fix it... i removed the com.apple.provenance attribute (which is an attribute i haven't seen on the 0.2.8...
  • still didn't fix it. Permissions still persistent...

Any advice on resolving this would be appreciated!

Thanks!


Edit: Also is there a way to get this out of the menubar? I'm assuming it's for allowing the Pane access to other workflows because when I click one of them, an "extra-pane-config.json" opens up in Sublime Text.
image
Edit2: just saw your pane config json examples on AEP repo.

@mr-pennyworth
Copy link
Owner

It would've helped if I was having the same issue too 😞
my experience with macOS apps and permissions is too little to figure this out 😓
One possible issue could be that you have multiple places where AEP is installed, and the permissions you see in the System Settings are for one AEP and BetterDict is using a different AEP 🤔

Things will be simpler if all the workflows installed AEP in /Applications instead of downloading in their own folder. Not sure when I'll get time to fix all the workflows though :/

@yarub123
Copy link
Author

yarub123 commented Oct 10, 2024

It's all good don't worry about it. And yeah I even made sure AEP was in applications etc. I think the issue stems from codesigning. I tried to make an apple dev account but for some reason my application isn't going through... (i was going to codesign it with my certificate)

Thanks anyhow.

Sorry for being that guy but this issue showed up the other day, and now it showed up again... i can start a new issue if necessary:

Alfred Debug:

[15:26:42.139] Better Dictionaries[Script Filter] Queuing argument 'wow'
[15:26:42.213] Better Dictionaries[Script Filter] Script with argv 'wow' finished
[15:26:42.216] STDERR: Better Dictionaries[Script Filter] % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 195 100 169 100 26 219k 34574 --:--:-- --:--:-- --:--:-- 190k
[15:26:42.218] Better Dictionaries[Script Filter] { "items": null }
[15:26:42.219] ERROR: Better Dictionaries[Script Filter] JSON is missing expected keys; items, variables or rerunafter:
{ "items": null }

Edit: I reverted to older version, then back to newer version and now the JSON error is gone and it's working again. Weird stuff!!! But I'm happy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants