summaryrefslogtreecommitdiff
path: root/kimesh/debug_install.sh
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2020-12-29 19:50:28 +0100
committerjaseg <git@jaseg.net>2020-12-29 19:51:29 +0100
commit093b2c2df43c5242fb43b2e9bde565fac01f5a5c (patch)
treef52f27403f347db69b0e276137fd7f28e60b9169 /kimesh/debug_install.sh
parent61c0ecea7d1e1ca739b8016844f0db53ec2e125f (diff)
downloadkimesh-093b2c2df43c5242fb43b2e9bde565fac01f5a5c.tar.gz
kimesh-093b2c2df43c5242fb43b2e9bde565fac01f5a5c.tar.bz2
kimesh-093b2c2df43c5242fb43b2e9bde565fac01f5a5c.zip
Update README
Diffstat (limited to 'kimesh/debug_install.sh')
-rw-r--r--kimesh/debug_install.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/kimesh/debug_install.sh b/kimesh/debug_install.sh
new file mode 100644
index 0000000..e928738
--- /dev/null
+++ b/kimesh/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/
+