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

How to add aditional keys to the Info.plist for mac / mas builds #825

Closed
screenmeet opened this issue Oct 14, 2016 · 3 comments
Closed

How to add aditional keys to the Info.plist for mac / mas builds #825

screenmeet opened this issue Oct 14, 2016 · 3 comments
Labels

Comments

@screenmeet
Copy link

I want to add a few additional keys to the Info.plist that is generated when building the app, but am not sure how to properly achieve this.

I want to add some extra keys, such as CFBundleURLSchemes and NSuserNotificationAlertStyle.

@develar
Copy link
Member

develar commented Oct 15, 2016

Please see #549 (comment)

CFBundleURLSchemes — please use fileAssociations. https://github.com/electron-userland/electron-builder/wiki/Options#FileAssociation

@screenmeet
Copy link
Author

The documentation there seems pretty sparse. Not clear on how to set the values. And what about other plist values, like NSuserNotificationAlertStyle or anything else for that matter?

@develar
Copy link
Member

develar commented Oct 17, 2016

what about other plist values, like NSuserNotificationAlertStyle or anything else for that matter?

@screenmeet Yes, build.extend-info is not documented. Use build.extend-info (https://github.com/electron-userland/electron-packager/blob/master/docs/api.md#extend-info) to add custom entries to the Info.plist.

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

No branches or pull requests

1 participant