From 687f156874ec3717934f7787d666a7f879a8958a Mon Sep 17 00:00:00 2001 From: Kieran Date: Fri, 16 Aug 2024 05:23:08 -0700 Subject: [PATCH] attempted githooks --- .githooks/post-merge.cmd | 2 ++ README.md | 4 +++- config.cmd | 2 +- init.cmd | 2 ++ 4 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 .githooks/post-merge.cmd create mode 100644 init.cmd diff --git a/.githooks/post-merge.cmd b/.githooks/post-merge.cmd new file mode 100644 index 0000000..f0f967c --- /dev/null +++ b/.githooks/post-merge.cmd @@ -0,0 +1,2 @@ +call ../config +echo "UPDATED" \ No newline at end of file diff --git a/README.md b/README.md index dc1e748..97b0c4f 100644 --- a/README.md +++ b/README.md @@ -1 +1,3 @@ -# HSS win scripts \ No newline at end of file +# HSS win scripts + +To configre a LattePanda Delta, run the `init` script \ No newline at end of file diff --git a/config.cmd b/config.cmd index d7b6700..acbecb0 100644 --- a/config.cmd +++ b/config.cmd @@ -2,7 +2,7 @@ copy .\startup.cmd "%AppData%\Microsoft\Windows\Start Menu\Programs\Startup\" :: disable sleep -/hibernate off +powercfg.exe /hibernate off :: disable updates sc config wuauserv start= disabled diff --git a/init.cmd b/init.cmd new file mode 100644 index 0000000..2767114 --- /dev/null +++ b/init.cmd @@ -0,0 +1,2 @@ +call config.cmd +git config --local core.hooksPath .githooks/ \ No newline at end of file