CI to automate build of zotero tarball for zotero aport
https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/testing/zotero
609657a8e4
This is loosely based on the same functionality in ZotFile, but it tries to do the right thing based on existing Zotero settings: either the new PDF handler setting in the prefs or the system-default app. The latter can only reliably be determined on Windows (and this uses ZotFile's function to read that from the registry), but this tries to figure it out on macOS and Linux too using the Mozilla handler service. (The handler service only gets you an app name, not a path, so on Linux we can try reading mimetypes.list and the like in case someone is using a system-default okular or evince not in /usr/bin, but that's not yet implemented.) This uses the new 5.0 URL format, and a 'page' query parameter instead of a path component: zotero://open-pdf/library/items/[itemKey]?page=[page] zotero://open-pdf/groups/[groupID]/items/[itemKey]?page=[page] It also accepts ZotFile-style URLs, though, so if you uninstall ZotFile you should still be able to open those links. ZotFile will need to accept the new format for new links to work when ZotFile is installed, since it will override this handler. This functionality will be necessary for annotation extraction (#1018) and for imported annotations from Mendeley (#1451). |
||
---|---|---|
chrome | ||
components | ||
defaults/preferences | ||
resource | ||
scripts | ||
styles@4f3b62e0db | ||
test | ||
translators@fbbef8992f | ||
.babelrc | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
chrome.manifest | ||
CONTRIBUTING.md | ||
COPYING | ||
install.rdf | ||
package-lock.json | ||
package.json | ||
README.md | ||
update.rdf |
Zotero
Zotero is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.
Please post feature requests or bug reports to the Zotero Forums. If you're having trouble with Zotero, see Getting Help.
For more information on how to use this source code, see the Zotero wiki.