node-mac-permissions
node-mac-permissions copied to clipboard
Folder access automatically denied on signed app
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 a denied
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
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?