-
Notifications
You must be signed in to change notification settings - Fork 44
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
Folder access automatically denied on signed app #69
Comments
having this issue as well! |
hey @zinne I can confirm (for anything working in dev it works in production as well w/ a signed app). I was having this issue at first, but entitlements were my issue. Did you figure it out? |
@sumersao no, didn‘t made it. Solved my situation just by using a save dialog. |
@zinne interesting. What permissions were you trying to use explicitly? fwiw the askForContactsAccess() didn't work for me in dev or prod, so I did a workaround by reading the resource directly and checking permissions that way. But other things worked |
@sumersao I was trying to save a file to the Desktop. |
Have you defined the NSDesktopFolderUsageDescription property in the info.plist? |
Everything works fine. The permission popup appears in my dev env. But when I build the app with
electron-packager
and sign my app the permission popup does not appear. The log just returns adenied
status.(entitlements are setup correctly)
Can someone confirm that it works on the latest MacOS with a real signed app?
MacOS Sonoma 14.1
electron 26.4.2
The text was updated successfully, but these errors were encountered: