Skip to content

0.2.1 — desktop saving actually works

Choose a tag to compare

@nathancashion nathancashion released this 16 Aug 01:58
· 5 commits to main since this release

Fixes saving on desktop. If you installed 0.2.0, please update — its assets were built before this fix and shipped with the bug.

Fixed

Save image and Save collection opened a dialog on desktop and then wrote nothing.

The dialog was never the problem. Electron denies File System Access write permission unless the host application installs a permission handler, and Obsidian doesn't — so the picker opened, you granted it, and the write behind it failed. No choice of folder could have worked.

Desktop now saves through Electron's own dialog and Node's fs, the established route for Obsidian plugins. You get a real Save dialog for a single image and a folder chooser for a collection.

Two further defects found while tracing it:

  • A failed write silently fell back to downloading the files, so you could pick a folder, see "Saved 4 images", and find them in Downloads instead. A chosen destination is now honoured or the failure is reported. Notices name the destination.
  • The remaining fallback now writes a single archive rather than firing off separate downloads, which Chromium blocks after the first without telling anyone.

Mobile is unchanged and unaffected — its share-sheet path never touched this code.

Installing

With BRAT, add nathancashion/obsidian-quotable. By hand, drop main.js, manifest.json and styles.css into <vault>/.obsidian/plugins/quotable/ and enable it in Community plugins.