Skip to content

Commit

Permalink
change plugin id to obsidian-daily-notes-opener
Browse files Browse the repository at this point in the history
  • Loading branch information
reorx committed Apr 7, 2022
1 parent e72f1ae commit 543d3ab
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"id": "obsidian-daily-notes-new-tab",
"id": "obsidian-daily-notes-opener",
"name": "Daily notes opener",
"version": "1.5.2",
"minAppVersion": "0.12.0",
"description": "Easily open daily/periodic notes in new pane, and much more!",
"author": "Reorx",
"authorUrl": "https://github.com/reorx",
"isDesktopOnly": false
}
}
11 changes: 7 additions & 4 deletions sync-plugin.example.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/bin/bash

PLUGINS_DIR=""
PLUGIN_DIR_NAME="obsidian-daily-notes-new-tab"
PLUGIN_PATH="$PLUGINS_DIR/$(basename "$PWD")"

mkdir -p "$PLUGINS_DIR/$PLUGIN_DIR_NAME"
rsync -a main.js manifest.json "$PLUGINS_DIR/$PLUGIN_DIR_NAME"
touch "$PLUGINS_DIR/$PLUGIN_DIR_NAME/.hotreload"
mkdir -p "$PLUGIN_PATH"
rsync -a build/* manifest.json "$PLUGIN_PATH"
# if .hotreload does not exist, touch it
if [ ! -f "$PLUGIN_PATH/.hotreload" ]; then
touch "$PLUGIN_PATH/.hotreload"
fi

0 comments on commit 543d3ab

Please sign in to comment.