How to make Zotero load plugins from unpacked source code?
67 views
Skip to first unread message
coffee db
unread,
Nov 3, 2023, 10:55:20 AM11/3/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to zotero-dev
I'm currently studying how to develop Zotero plugins and have been searching for quite some time, but still haven't found a way to load plugins from compiled source code. What are the steps to achieve this functionality?
XY Wong
unread,
Nov 3, 2023, 11:34:37 AM11/3/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to zotero-dev
dev:client_coding:plugin_development [Zotero Documentation] If you cannot load from the source code even if you are following the steps of the official document, please come back with more detailed descriptions of the steps, your Zotero version, and what plugin you are trying to load.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to zotero-dev
I think I have found the problem. In the `package.json`, the `addonID` must be configured in email format. Using other characters will prevent the plugin from being loaded from the source code. (I was able to load the plugin from the source code by changing the `addonID` to an email format.) Are there any rules or requirements for naming `addonID`? Why is it necessary to set it in this way?
XY Wong
unread,
Nov 6, 2023, 5:06:44 AM11/6/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to zotero-dev
Because Zotero is based on Firefox, and Firefox has such a requirement.