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?
Asked
Active
Viewed 854 times
1 Answers
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
-
You didn't list 64 bit version for Windows and Mac. Are they necessary? – Tyler Liu Mar 23 '13 at 14:15