diff options
author | mösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2008-11-26 20:32:13 +0000 |
---|---|---|
committer | mösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2008-11-26 20:32:13 +0000 |
commit | d5715530a6a5b39cf99e02f3d2e38f0bc068c19c (patch) | |
tree | d8f423d97345ebad78912918048dd9a100b22134 /windows/neo-vars/src/make-build.bat | |
parent | 86d78402d8475c5ee2930ff115be69e7e3ac6a63 (diff) |
Nachtrag zu r1246: neues make-build.bat, das die custom.ahk temporär umbenennt, und neues Top-level AHK-Skript
git-svn-id: https://svn.neo-layout.org@1247 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'windows/neo-vars/src/make-build.bat')
-rw-r--r-- | windows/neo-vars/src/make-build.bat | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/windows/neo-vars/src/make-build.bat b/windows/neo-vars/src/make-build.bat index bbd2d46..1afffc3 100644 --- a/windows/neo-vars/src/make-build.bat +++ b/windows/neo-vars/src/make-build.bat @@ -17,6 +17,10 @@ set ahkrevoutput1=%Ssrcdir%\_subwcrev1.generated.ahk set batrevtemplate1=%Ssrcdir%\_subwcrev1.tmpl.bat
set batrevoutput1=%Ssrcdir%\_subwcrev1.bat
+set NEO2AppData=%APPDATA%\NEO2
+set customahk=%NEO2AppData%\custom.ahk
+set customahkbuild=%customahk%.buildtmp
+
REM The path to the directory used for generating a consistent SVN version (revision number)
set svnversiondir1=.
@@ -36,8 +40,16 @@ del "%outdir%\neo20-r*.exe" 2> nul set fnahk=%srcdir%\neo20-all.ahk
+if exist "%customahk%" (
+ ren "%customahk%" "%customahkbuild%"
+)
+
echo Compiling the new Driver using Autohotkey
"%Ahk2Exe%" /in "%fnahk%" /out "%fnexe%" /icon "%srcdir%\neo_enabled.ico"
+if exist "%customahkbuild%" (
+ ren "%customahkbuild%" "%customahk%"
+)
+
echo Driver Update complete! You can now close this log-window.
pause
|