benawad / dogehouse

Taking voice conversations to the moon 🚀
https://dogehouse.tv/
MIT License
9.12k stars 1.48k forks source link

linux-snap/electron: Implement an way for users to inform regarding what app permissions are needed #640

Open ajhalili2006 opened 3 years ago

ajhalili2006 commented 3 years ago

This issue is part of https://github.com/benawad/dogehouse/issues/575 to package the Electron desktop app as an Snap for Linux users.

About The Issue

Since snaps are stricly confined by default, each snap must ask an user to connect interfaces for the app to work. In case of DogeHouse, we just need the microphone interface.

However, users who didn't install the snap through the GUI (e.g. Ubuntu Store for Ubuntu, may varies on per distro basis) requires connecting these interfaces into the snap.

So what I'm saying is prompt the user to connect these interfaces in the command line on first launch OR we can ask Snap Store Support people in the forum to do auto-connect stuff for the app. However, how do we check if we have access to the mic, among other interfaces may require?

Additional Resources

From the docs

From the Snapcraft Forums

ajmnz commented 3 years ago

@AndreiJirohHaliliDev2006 Has this been fixed?

ajhalili2006 commented 3 years ago

@AndreiJirohHaliliDev2006 Has this been fixed?

@ajmnz Currently, not yet because I have other business to do outside of open-source stuff (yes, remote schooling is chaos), but I'll mark this to contributors needed.