Skip to content
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

MacOS Assessment Mode enabled via Kiosk Mode #7698

Merged
merged 2 commits into from Mar 24, 2021

Conversation

Sir-Fenrir
Copy link
Contributor

@Sir-Fenrir Sir-Fenrir commented Mar 17, 2021

These changes allow developers to use the Assessment Mode capabilities of the Mac Operating System.
Now when Kiosk Mode is enabled, the executable is signed with the correct entitlements and certificate and the user is on MacOS 10.15.4 or higher, Assessment Mode will be activated, meaning the user can no longer leave the app, their clipboard gets cleared and more: https://developer.apple.com/documentation/automaticassessmentconfiguration.
If they do not fulfil these conditions, nothing happens.

I personally have little experience with Objective-C, so any suggestions for improvements are welcome. Merging this into NW.JS would really help us out, otherwise we'll have to maintain a separate version of this framework.

Thank you in advance!

This completely locks down your NW.JS app, if you sign it using the right entitlements. Otherwise it simply fails to do anything, without impacting the application.
This framework is required to enable Assessment Mode on the MacOS.
@TheJaredWilcurt
Copy link
Member

TheJaredWilcurt commented Mar 24, 2021

User requested feedback on this PR in the NW.js Discord. @rogerwang when you're available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants