0

I'm trying to package a Chrome extension that includes native plugins for all OSes. What do I need to include in the manifest.json to get it to load in both 32 bit and 64 bit versions of Linux?

Daniel X Moore
  • 14,637
  • 17
  • 80
  • 92

1 Answers1

2

I have answered a similar question in the past that you can look at as well: Google Chrome Extensions and NPAPI

If you want to package a Chrome extension that includes plugins for all OSes, including 32bit and 64bit versions you just list them sequentially. I would do something like the following within your manifest:

"plugins": [
    { "path": "win_x86-npapi.dll" },
    { "path": "linux_x86-npapi.so" },
    { "path": "linux_x86_64-npapi.so" },
    { "path": "darwin-npapi.plugin" }
  ]
Community
  • 1
  • 1
Mohamed Mansour
  • 39,445
  • 10
  • 116
  • 90