Skip to content

Commit

Permalink
vault backup: 2024-11-26 14:15:10
Browse files Browse the repository at this point in the history
Affected files:
mkdocs-obsidian-template/.obsidian/plugins/obsidian-git/main.js
mkdocs-obsidian-template/.obsidian/plugins/obsidian-git/manifest.json
mkdocs-obsidian-template/.obsidian/plugins/obsidian-git/obsidian_askpass.sh
mkdocs-obsidian-template/.obsidian/workspace.json
  • Loading branch information
AtticusZeller committed Nov 26, 2024
1 parent e0e6183 commit 1dadcb6
Show file tree
Hide file tree
Showing 4 changed files with 225 additions and 163 deletions.
347 changes: 185 additions & 162 deletions mkdocs-obsidian-template/.obsidian/plugins/obsidian-git/main.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"description": "Integrate Git version control with automatic backup and other advanced features.",
"isDesktopOnly": false,
"fundingUrl": "https://ko-fi.com/vinzent",
"version": "2.28.2"
"version": "2.30.0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/sh

PROMPT="$1"
TEMP_FILE="$OBSIDIAN_GIT_CREDENTIALS_INPUT"

cleanup() {
rm -f "$TEMP_FILE" "$TEMP_FILE.response"
}
trap cleanup EXIT

echo "$PROMPT" > "$TEMP_FILE"

while [ ! -e "$TEMP_FILE.response" ]; do
if [ ! -e "$TEMP_FILE" ]; then
echo "Trigger file got removed: Abort" >&2
exit 1
fi
sleep 0.1
done

RESPONSE=$(cat "$TEMP_FILE.response")

echo "$RESPONSE"
16 changes: 16 additions & 0 deletions mkdocs-obsidian-template/.obsidian/workspace.json

Large diffs are not rendered by default.

0 comments on commit 1dadcb6

Please sign in to comment.