Update installer script and release workflow to use dynamic versioning

(cherry picked from commit a2640c2da0)
This commit is contained in:
OMGeeky
2025-02-16 00:57:27 +01:00
parent a5492b16ac
commit ccc56f0d3a
2 changed files with 10 additions and 11 deletions

View File

@@ -1,7 +1,6 @@
!include MUI2.nsh
!system 'for /f "delims=" %%a in ('type ..\ATCS_latest') do set "VERSION=%%a" && exit'
!define VERSION "$%VERSION:~1%"
; Version will be passed as /DVERSION=x.x.x
!define TRAINER_VERSION "0.1.5"
!define JAVA_BIN "java"
!define ATCS_SOURCE_DIR "..\..\"