Update installer script and release workflow to use dynamic versioning

This commit is contained in:
OMGeeky
2025-02-16 00:57:27 +01:00
parent 4fe7e71a43
commit a2640c2da0
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 "..\..\"