I am adding node-ble to an electron app, which is using electron-forge to create a .deb package.
My plan to set up this file is for the deb installer to run a simple script during post-install:
My issue is that I can't know at the time of packaging, what the username of whoever is installing the package will be.
Would it work to specify a permissions group instead of a username for the policy? And just require the user to be in that group?
The README has instructions about setting permissions here: https://github.com/chrvadala/node-ble#provide-permissions
I am adding node-ble to an electron app, which is using electron-forge to create a
.deb
package.My plan to set up this file is for the deb installer to run a simple script during post-install:
My issue is that I can't know at the time of packaging, what the username of whoever is installing the package will be.
Would it work to specify a permissions group instead of a username for the policy? And just require the user to be in that group?