This section is a short overview of some of the complexities, to make it more accessible for newcomers. Zotero Connectors are built with standard tools, such as browser extension APIs, but the architecture is quite complex. Test files are located at src/common/test. To run tests locally, build the extension with the -d flag, and then run xar with patch for building Safari extensions.Copy config.sh-sample to config.sh and modify as necessary.Requirements for packaging extensions from the command line You will need to manually reload the extension OthersĪs files are changed, the connectors will be rebuilt automatically. scripts/firefox/run_xpi (in a different terminal window)Īs files are changed, the connectors will be rebuilt automatically and Firefox will reload the extension. See Automatic rebuilding/reloading Chrome on MacOSĪs files are changed, the connectors will be rebuilt automatically and Chrome will reload the extension. Get and install the Mozilla web-ext tool.Click "Load Temporary Add-on" and select the build/browserExt/manifest.json file. ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |