Re: screen recording permission dialog
Posted: Mon Aug 05, 2024 9:15 pm
If the apps use the same identifier (which I think we are using separate identifiers now), then that might be a problem for LaunchServices for correctly identify the app (and the hardware permissions it should be allowed to request).
It's a problem when doing any modifying of .app bundles, things like changing the App's icon, where the 'fix' is to force the App to be re-read by launch services after making a change. One quick way to force that, without typing any command lines, is to .zip the app in the Mac Finder, then delete the original .app, and finally expand the .zip copy of the app, at which point launch services should've read those finer details anew.
Anyway the problem with 'export snapshot' may be (slightly) deeper than getting macOS to ask user hardware access permission once, and only once. With the right conditions we know that does indeed work as expected. But 'Export snapshot' probably needs some tweaking, updating in the Engine source.
It's a problem when doing any modifying of .app bundles, things like changing the App's icon, where the 'fix' is to force the App to be re-read by launch services after making a change. One quick way to force that, without typing any command lines, is to .zip the app in the Mac Finder, then delete the original .app, and finally expand the .zip copy of the app, at which point launch services should've read those finer details anew.
Anyway the problem with 'export snapshot' may be (slightly) deeper than getting macOS to ask user hardware access permission once, and only once. With the right conditions we know that does indeed work as expected. But 'Export snapshot' probably needs some tweaking, updating in the Engine source.