Skip to content

Commit

Permalink
Release 0.16.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei-Korneev committed Jan 31, 2025
1 parent 638f909 commit 85b3a28
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 9 deletions.
2 changes: 2 additions & 0 deletions docs/RELEASE_NOTES.TXT
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
0.16.3
Fix: The plugin can delete subfolders in attachment folders as orphans (bug)

0.16.2
Fix: Unable to download any filetypes from web
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "obsidian-local-images-plus",
"name": "Local Images Plus",
"version": "0.16.2",
"version": "0.16.3",
"minAppVersion": "1.0.3",
"description": "Local Images Plus plugin searches for all external media links in your notes, downloads and saves them locally and adjusts the links in your notes to point to the saved files.",
"author": "catalysm, aleksey-rezvov, Sergei Korneev",
Expand Down
2 changes: 1 addition & 1 deletion obsidian_local_images_plus_latest/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "obsidian-local-images-plus",
"name": "Local Images Plus",
"version": "0.16.2",
"version": "0.16.3",
"minAppVersion": "1.0.3",
"description": "Local Images Plus plugin searches for all external media links in your notes, downloads and saves them locally and adjusts the links in your notes to point to the saved files.",
"author": "catalysm, aleksey-rezvov, Sergei Korneev",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-local-images-plus",
"version": "0.16.2",
"version": "0.16.3",
"description": "This is a plugin for Obsidian (https://obsidian.md) that downloads media files from external links and save in local vault.",
"main": "build/main.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const APP_TITLE = "Local Images Plus 0.16.2";
export const APP_TITLE = "Local Images Plus 0.16.3";



Expand Down
6 changes: 3 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ export default class LocalImagesPlugin extends Plugin {
}
if (allAttachments) {
for (const attach of allAttachments) {
if (!allAttachmentsLinks.includes(attach.name)) {
if (!allAttachmentsLinks.includes(attach.name) && attach.children == undefined ) {
logError("orph: " + attach.basename)
orphanedAttachments.push(attach)
}
Expand Down Expand Up @@ -640,10 +640,10 @@ export default class LocalImagesPlugin extends Plugin {
}

for (const attach of allAttachments) {
if (!allAttachmentsLinks.includes(attach.name)) {
if (!allAttachmentsLinks.includes(attach.name) && attach.children == undefined ) {
logError(allAttachmentsLinks)
logError(attach.name)
logError("orph: " + attach.basename)
logError("orph: " + attach.name)
orphanedAttachments.push(attach)
}
}
Expand Down

0 comments on commit 85b3a28

Please sign in to comment.