yonatan-mitmit / onium

Extension injector into Electron apps
MIT License
21 stars 3 forks source link

Slack Permissions to Record Screen Not Recognized After Patching #12

Open Shir-Ariel-Havron-Hunters opened 1 month ago

Shir-Ariel-Havron-Hunters commented 1 month ago

Issue - can't screen share in the patched version of Slack.

Reproduce

yonatan-mitmit commented 1 month ago

In my end, what solved the problem was deleting (using the - icon) of the slack app in the permissions (System settings->privacy&security-> Screen & system audio recording) and then adding the patched app again. This is a limitation of the mac security model. I need to see if this can be patched by the script. For now, can you test if this solves it for you?

audio-input=Succeeded, audio-output=Succeeded, video-input=Succeeded, res320x240-Succeeded, res176x144-Succeeded, res160x120-Succeeded, audio-connectivity=Succeeded, video-connectivity=Succeeded, content-share-connectivity=Succeeded, network-UDP-connectivity=Succeeded, network-TCP-connectivity=Succeeded,

yonatan-mitmit commented 1 month ago

Additionally, you can also try to run tccutil reset ScreenCapture com.tinyspeck.slackmacgap This should reset the permission for screen recording for the slack app, and when that happens you should be able to approve it anew.