Aggiorna file deploy da feature branch

This commit is contained in:
gabriele-cusato 2026-03-19 15:17:28 +01:00
parent 41f01b5392
commit edc5421e31
2 changed files with 10 additions and 4 deletions

View file

@ -2,11 +2,15 @@
# Deploy plugin files to Google Drive vault (sync cloud)
# Uso: bash cloudDeploy.sh
# MSYS_NO_PATHCONV=1 impedisce a Git Bash di convertire i path C:/ in /c/
# ed evita che mkdir crei una cartella "C:" relativa
export MSYS_NO_PATHCONV=1
VAULT_PLUGIN="C:/Users/gabri/Il mio Drive (gabrielecusato@gmail.com)/Projects/handwriting-to-markdown"
SRC_DIR="$(dirname "$0")"
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
mkdir -p "$VAULT_PLUGIN"
cp "$SRC_DIR/main.js" "$SRC_DIR/manifest.json" "$SRC_DIR/styles.css" "$VAULT_PLUGIN/"
cp "$SCRIPT_DIR/main.js" "$SCRIPT_DIR/manifest.json" "$SCRIPT_DIR/styles.css" "$VAULT_PLUGIN/"
echo "Deployed to $VAULT_PLUGIN"
echo " main.js $(wc -c < "$VAULT_PLUGIN/main.js") bytes"

View file

@ -2,11 +2,13 @@
# Deploy plugin files to Obsidian vault
# Uso: bash deploy.sh
export MSYS_NO_PATHCONV=1
VAULT_PLUGIN="C:/Projects/CLIENTI/IOTTI/IOTTI_APP/_docs/handwriting-to-markdown/.obsidian/plugins/handwriting-to-markdown"
SRC_DIR="$(dirname "$0")"
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
mkdir -p "$VAULT_PLUGIN"
cp "$SRC_DIR/main.js" "$SRC_DIR/manifest.json" "$SRC_DIR/styles.css" "$VAULT_PLUGIN/"
cp "$SCRIPT_DIR/main.js" "$SCRIPT_DIR/manifest.json" "$SCRIPT_DIR/styles.css" "$VAULT_PLUGIN/"
echo "Deployed to $VAULT_PLUGIN"
echo " main.js $(wc -c < "$VAULT_PLUGIN/main.js") bytes"