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

Add camera plug to Snap build config #813

Merged
merged 2 commits into from
Mar 10, 2019

Conversation

jstevans
Copy link
Contributor

@jstevans jstevans commented Mar 7, 2019

Camera doesn't work for me when installing from the snap store, and it looks like the reason is because it doesn't have permissions. The old workaround of snap install --classic no longer works as of [email protected] (relevant PR).

Reading the relevant docs for electron-builder and snap, it seems like the right solution is to use the default confinement model and to explicitly specify a snap.plugs that includes camera in the electron-builder config.

@sindresorhus
Copy link
Owner

Any other plugs we might need? https://docs.snapcraft.io/supported-interfaces/7744

@jstevans
Copy link
Contributor Author

jstevans commented Mar 8, 2019

Not too sure -- I'm afraid I'm a recent user and haven't read much of the code here yet. Nothing jumped out at me, though 🙂

@sindresorhus sindresorhus changed the title Add camera plug to snap build config Add camera plug to Snap build config Mar 10, 2019
@sindresorhus sindresorhus merged commit d13c792 into sindresorhus:master Mar 10, 2019
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.

2 participants