Read the statement by Michael Teeuw here.
mmm assistant mk2
- 
sam, i suspect a bug in electron
chown root and chmod 4755 ?
 - 
@Bugsounet yes, what my script does…
not a bug, new feature
 - 
yes but i don’t understand why … with pulseaudio there is no sound but with root it’s works …
There is a permission missing somewhere
 - 
@Bugsounet sorry, got no idea what the side effects are…
they wanted some additional security
are u launching a player as a background task, or playing direct to the device? if the latter then u get all the security crap
 - 
sam:
in RPI4: it’s works
pi@Raspberry:~/MagicMirror/node_modules/electron/dist $ ls -la total 107516 drwxr-xr-x 4 pi pi 4096 mai 20 15:23 . drwxr-xr-x 3 pi pi 4096 juin 1 13:37 .. -rw-r--r-- 1 pi pi 145945 mai 20 15:23 chrome_100_percent.pak -rw-r--r-- 1 pi pi 209147 mai 20 15:23 chrome_200_percent.pak -rwsr-xr-x 1 root pi 4204060 mai 20 15:23 chrome-sandboxi have no idea if @dvbit it’s the same
Note: this Issue take me head since 6 month
 - 
@Bugsounet yes, added in V6 of electron (and chrome 45 I think?) we are running 6.1.7
 - 
pi@Raspberry:~/MagicMirror/node_modules/electron/dist $ ./electron -v
v6.1.12 - 
@Bugsounet weird we call for 6.1.7 or above
"electron": "^6.1.7" - 
Hello,
Indeed, I did not understand well in WIKI.If it can be used for others, you must create a token.js file and insert the code:
ACCESSTOKEN=ya29.a0AfH6SMABBPj590X_itMQG616F8QpxddhPVuSXCE4qvZs6znHKbG2n5RggszFMdl0V5HP0lf956H9O7VHlbuGuMxSzkU3pMkdbpFxs485NwfXYl9T7hfLzB0EOPlRTwcifZW-8rIUlZlWXXXXXXXXXXXXXXXXXXXNow it works perfectly,
Thank you so much,
Regards,
 - 
but only in 6.x.x branch
actually electron is releasing with v9 ;)
 
