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