summaryrefslogtreecommitdiff
path: root/debug_install.sh
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-06-30 18:59:44 +0200
committerjaseg <git@jaseg.de>2023-06-30 18:59:44 +0200
commitdf73bd73c94a3c3166171291f784ff19bfffc505 (patch)
tree887781effa9e0ba9e7c69f7a7b76293acee745af /debug_install.sh
parent093b2c2df43c5242fb43b2e9bde565fac01f5a5c (diff)
downloadkimesh-df73bd73c94a3c3166171291f784ff19bfffc505.tar.gz
kimesh-df73bd73c94a3c3166171291f784ff19bfffc505.tar.bz2
kimesh-df73bd73c94a3c3166171291f784ff19bfffc505.zip
Version 2
Diffstat (limited to 'debug_install.sh')
-rw-r--r--debug_install.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/debug_install.sh b/debug_install.sh
new file mode 100644
index 0000000..e928738
--- /dev/null
+++ b/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/
+