Hi,
I'm using an old kiosk chrome extension that I'm using on different machines.
I need to keep the chrome extension, since the arm community build are old version an on those machines I use just chromium.
My problem is activating the Widevine, since on some machine spotify is used.
the manifest.json of the extension loads the file like this:
"app": {
"background": {
"scripts": ["node_modules/async/dist/async.js",
"node_modules/lodash/lodash.min.js",
"js/main.js"],
"persistent": false
}
},
And there are some shortcuts defined like this:
"commands": {
"openAdmin": {
"suggested_key": {
"default": "Ctrl+A",
"mac": "MacCtrl+A"
},
"description": "Open the setup page"
},
If I start nw with the directory of the extension it would start, but I can not activate Widevine since If I try to load nw.enableComponent i get ReferenceError: nw is not defined.
If I rename manifest.json to package.json, then I can enable widevine, but then the shortcuts doesn't work.
My goal was to add in the manifest "main" attribute to a file that just enables Widevine and then just start the extension, but I don't seam to find a way to do that.
Does anyone here have some knowlege and experience with such a problem and how to overcome it?
Thanks in advance