summaryrefslogtreecommitdiff
path: root/plugin/debug_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/debug_install.sh')
-rw-r--r--plugin/debug_install.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/plugin/debug_install.sh b/plugin/debug_install.sh
new file mode 100644
index 0000000..e928738
--- /dev/null
+++ b/plugin/debug_install.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+PLUGIN_NAME=security_mesh
+
+XDG_CONFIG_HOME="${XDG_CONFIG_HOME-$HOME/.config}"
+KICAD_BASE="${1-$XDG_CONFIG_HOME/kicad}"
+PLUGIN_DIR="$KICAD_BASE/scripting/plugins/$PLUGIN_NAME"
+
+rm -rf "$PLUGIN_DIR"
+mkdir -p "$PLUGIN_DIR"
+
+cp -r * $PLUGIN_DIR/
+