2020-10-09 18:35:46 +01:00
|
|
|
#!/bin/bash
|
|
|
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
|
|
|
2024-01-09 07:13:24 -08:00
|
|
|
update_plugin() {
|
|
|
|
echo "Updating $1..."
|
|
|
|
cd "$SCRIPT_DIR/$1" && yo joplin --update --skip-install --silent
|
|
|
|
echo "Done."
|
|
|
|
}
|
|
|
|
|
|
|
|
update_plugin jpl_test
|
2020-11-18 10:17:27 +00:00
|
|
|
sed -i /*.jpl/d .gitignore
|
2020-10-09 18:35:46 +01:00
|
|
|
|
2024-01-09 07:13:24 -08:00
|
|
|
PLUGINS_TO_UPDATE=(
|
|
|
|
"clipboard"
|
|
|
|
"codemirror6"
|
|
|
|
"codemirror_content_script"
|
|
|
|
"content_script"
|
|
|
|
"dialog"
|
|
|
|
"editor_context_menu"
|
|
|
|
"events"
|
|
|
|
"external_assets"
|
|
|
|
"imaging"
|
|
|
|
"json_export"
|
|
|
|
"load_css"
|
|
|
|
"menu"
|
|
|
|
"multi_selection"
|
|
|
|
"nativeModule"
|
|
|
|
"note_list_renderer"
|
|
|
|
"post_messages"
|
|
|
|
"register_command"
|
|
|
|
"selected_text"
|
|
|
|
"settings"
|
|
|
|
"toc"
|
|
|
|
"user_data"
|
|
|
|
"withExternalModules"
|
|
|
|
)
|
|
|
|
|
|
|
|
for PLUGIN in ${PLUGINS_TO_UPDATE[@]}; do
|
|
|
|
update_plugin "$PLUGIN"
|
|
|
|
done
|