summaryrefslogtreecommitdiffstats
path: root/windows/autohotkey/Build-Update.bat
diff options
context:
space:
mode:
Diffstat (limited to 'windows/autohotkey/Build-Update.bat')
-rw-r--r--windows/autohotkey/Build-Update.bat7
1 files changed, 5 insertions, 2 deletions
diff --git a/windows/autohotkey/Build-Update.bat b/windows/autohotkey/Build-Update.bat
index 98b4e8b..503620e 100644
--- a/windows/autohotkey/Build-Update.bat
+++ b/windows/autohotkey/Build-Update.bat
@@ -1,4 +1,4 @@
-@echo off
+REM @echo off
@@ -19,13 +19,16 @@ tskill neo20-all-in-one
echo Creating a new Driver from the Source code
-copy /B "%scr%\Warning.ahk" + "%scr%\neo20-all-in-one.ahk" "%svn%\%fn%.ahk"
+REM The order *is* important!
+copy "%scr%\Warning.ahk" + "%scr%\Changelog-and-Todo.ahk" + "%scr%\Global-Part.ahk" + "%scr%\Methods-Layers.ahk" + "%scr%\Keys-Qwert-to-Neo.ahk" + "%scr%\Keys-Neo.ahk" + "%scr%\Methods-Lights.ahk" + "%scr%\Methods-Other.ahk" "%svn%\%fn%.ahk"
+
echo Compiling the new Driver using Autohotkey
"%ahk%\Compiler\Ahk2Exe.exe" /in "%svn%\%fn%.ahk" /out "%svn%\%fn%.exe" /icon "%svn%\neo.ico"
+
echo Driver Update complete! You can now close this log-window.
REM Start the new Driver
%fn%.exe