What exactly does 'install' command do? #9
-
Your questionHi!
But what is the process exactly? Does it somehow inform browsers about the data stored in JSON available via And can I do this installation manually, like maybe manually copying the said JSON to some browser specific location? I'm particularly interested in Firefox on Linux -- I see this mentioned in the README but would be grateful for some more details (especially about the exact paths). Thanks :) Addon & CoApp version and details
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The install command creates JSON files into these directories: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_manifests#linux - it also runs some flatpak magic commands to make it so that the coapp is seen by sandboxed browsers. Then Firefox search for JSON files in these directories, and it runs the command and communicate with the binary through regular pipes (stdin/stdout). You can look at the code yourself right here: https://github.com/aclap-dev/vdhcoapp/blob/master/app/src/native-autoinstall.js |
Beta Was this translation helpful? Give feedback.
No. That output is unrelated to net.downloadhelper.coapp.json.
But why don't you run the
vdhcoapp install
command to just create the file?The json format should be: