From f2b417a5c30b498ef3b33feec74aa1878a4b53d1 Mon Sep 17 00:00:00 2001 From: Philipp Zumstein Date: Fri, 27 Apr 2018 14:44:26 +0200 Subject: [PATCH 1/5] Compatibility with Zotero v5 Standalone --- chrome.manifest | 2 +- install.rdf | 23 ++++++++--------------- 2 files changed, 9 insertions(+), 16 deletions(-) diff --git a/chrome.manifest b/chrome.manifest index 5d35057..f1a6181 100644 --- a/chrome.manifest +++ b/chrome.manifest @@ -1,2 +1,2 @@ content z2csl content/ -overlay chrome://zotero/content/zoteroPane.xul chrome://z2csl/content/overlay.xul \ No newline at end of file +overlay chrome://zotero/content/standalone/standalone.xul chrome://z2csl/content/overlay.xul application=zotero@chnm.gmu.edu diff --git a/install.rdf b/install.rdf index 22f0083..72fffe9 100644 --- a/install.rdf +++ b/install.rdf @@ -9,22 +9,15 @@ 1.1 Produces Zotero to CSL type and field map Aurimas Vinckevicius + 2 - - - - {ec8030f7-c20a-464f-9b0e-13a3a9e97384} - 3.6 - 20.* - - - - - zotero@chnm.gmu.edu - 3.0 - 4.0.* - - + + + zotero@chnm.gmu.edu + 4.999 + 5.* + + From a703a45fe2f9f833ff607f4cf54c6c30e79ed774 Mon Sep 17 00:00:00 2001 From: Philipp Zumstein Date: Tue, 22 May 2018 23:48:19 +0200 Subject: [PATCH 2/5] Use zip instead of git archive in build.sh It seems only possible to use git archive after the changes are commited and this is not very comfortable during developing. Therefore, changed to zip instead. --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 983d5d1..58ab6e1 100644 --- a/build.sh +++ b/build.sh @@ -1,7 +1,8 @@ #!/bin/bash mkdir -p build -git archive --format=zip -o build/z2csl.xpi HEAD \ +rm -f build/z2csl.xpi +zip -r build/z2csl.xpi \ chrome.manifest \ install.rdf \ content/ From 49661750c1af780ddb1d44debbcd8339a74e2760 Mon Sep 17 00:00:00 2001 From: Philipp Zumstein Date: Tue, 22 May 2018 23:59:24 +0200 Subject: [PATCH 3/5] Updated overlay to menu_ToolsPopup --- chrome.manifest | 2 +- content/overlay.xul | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/chrome.manifest b/chrome.manifest index f1a6181..cf33454 100644 --- a/chrome.manifest +++ b/chrome.manifest @@ -1,2 +1,2 @@ content z2csl content/ -overlay chrome://zotero/content/standalone/standalone.xul chrome://z2csl/content/overlay.xul application=zotero@chnm.gmu.edu +overlay chrome://zotero/content/standalone/standalone.xul chrome://z2csl/content/overlay.xul diff --git a/content/overlay.xul b/content/overlay.xul index feff7c9..5ffac36 100644 --- a/content/overlay.xul +++ b/content/overlay.xul @@ -5,8 +5,7 @@