You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MacOS M1 CPU Screen Recording Permission Issue [Fix]
Issue
Many users have reported screen permission issues on M1 Macs, with some resorting to installing Rosetta despite using an M1-specific build. The root cause is that the node package used to request permissions is based on Intel architecture, thus requiring Rosetta on M1 chips.
Solution
I've made the following modifications to resolve this issue:
Upgraded Node.js version to 16 to use M1 APIs natively.
Removed the Intel-dependent library mac-screen-capture-permissions.
Utilized Electron's native API support for permission requests.
These changes allow the app to request and use screen recording permissions on M1 Macs without the Rosetta workaround.
Implementation Details
Updated package.json to use Node.js 16.
Removed mac-screen-capture-permissions from dependencies.
Modified the screen capture permission code to use Electron's systemPreferences API:
Application
I've built the release version of the app with these changes, and it's available in the release section of my forked repository.
Download the zipped app from release.
Unzip and move it to the Applications folder.
Grant the necessary permissions.
Launch the app and verify that screen recording works without Rosetta.
This solution should allow Kap to function natively on M1 Macs without any Intel-based dependencies for screen recording permissions.
MacOS M1 CPU Screen Recording Permission Issue [Fix]
Issue
Many users have reported screen permission issues on M1 Macs, with some resorting to installing Rosetta despite using an M1-specific build. The root cause is that the node package used to request permissions is based on Intel architecture, thus requiring Rosetta on M1 chips.
Solution
I've made the following modifications to resolve this issue:
mac-screen-capture-permissions
.These changes allow the app to request and use screen recording permissions on M1 Macs without the Rosetta workaround.
Implementation Details
package.json
to use Node.js 16.mac-screen-capture-permissions
from dependencies.systemPreferences
API:Application
I've built the release version of the app with these changes, and it's available in the
release
section of my forked repository.release
.This solution should allow Kap to function natively on M1 Macs without any Intel-based dependencies for screen recording permissions.
https://github.com/codercodingthecode/Kap/releases/tag/m1-permission
If there is an interest from the maintainers, I can open a pr with these changes to the main project.
The text was updated successfully, but these errors were encountered: