Skip to content

Commit

Permalink
reveal MD note in system explorer, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
daeh committed Jan 15, 2022
1 parent c074e30 commit 0e1a388
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Opens an existing Markdown note in [Obsidian](https://obsidian.md) from the cont
- Run Zotero (version 5.x)
- Go to `Tools -> Add-ons`
- `Install Add-on From File`
- Choose the file `zotero-obsidian-citations-0.0.9.xpi`
- Choose the file `zotero-obsidian-citations-0.0.10.xpi`
- Restart Zotero

## Setup
Expand Down
Binary file modified ZoteroObsidianCitationsMenu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion bin/build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

version='0.0.9'
version='0.0.10'

rm -f zotero-obsidian-citations-${version}.xpi
zip -r zotero-obsidian-citations-${version}.xpi chrome/* defaults/* chrome.manifest install.rdf
Expand Down
3 changes: 1 addition & 2 deletions chrome/content/scripts/zoteroobscite.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if (typeof Zotero === 'undefined') {
}

Zotero.ObsCite = {
version: '0.0.9',
version: '0.0.10',
folderSep: null,
cleanrun: true,
suppressNotifications: false,
Expand Down Expand Up @@ -971,7 +971,6 @@ Zotero.ObsCite = {
const items = Services.wm.getMostRecentWindow("navigator:browser").ZoteroPane.getSelectedItems();
for (const item of items) {
if (this.dataKeys.includes(item.id)) {
/// NB skipping the subfolder path and hoping that obsidian can resolve the note based on the file name
const entry_res = this.data[item.id.toString()];
let file = new FileUtils.File(OS.Path.normalize(entry_res.path));
if (file.exists()) {
Expand Down
2 changes: 1 addition & 1 deletion install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Description about="urn:mozilla:install-manifest">
<em:id>daeda@mit.edu</em:id>
<em:name>ZoteroObsidianCitations</em:name>
<em:version>0.0.9</em:version>
<em:version>0.0.10</em:version>
<em:type>2</em:type>
<em:creator>Dae Houlihan</em:creator>
<em:description>Add a tag to Zotero items that have a external note.</em:description>
Expand Down
4 changes: 2 additions & 2 deletions update.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
<rdf:Seq>
<rdf:li>
<rdf:Description>
<em:version>0.0.9</em:version>
<em:version>0.0.10</em:version>
<em:targetApplication>
<rdf:Description>
<em:id>zotero@chnm.gmu.edu</em:id>
<em:minVersion>5.0.0</em:minVersion>
<em:maxVersion>5.*</em:maxVersion>
<em:updateLink>https://github.com/daeh/zotero-obsidian-citations/releases/download/v0.0.9/zotero-obsidian-citations-0.0.9.xpi</em:updateLink>
<em:updateLink>https://github.com/daeh/zotero-obsidian-citations/releases/download/v0.0.9/zotero-obsidian-citations-0.0.10.xpi</em:updateLink>
</rdf:Description>
</em:targetApplication>

Expand Down

0 comments on commit 0e1a388

Please sign in to comment.