mirror of
https://github.com/OMGeeky/ATCS.git
synced 2025-12-26 23:57:25 +01:00
Update ATCS_Installer.nsi to dynamically set VERSION from ATCS_latest file
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
!include MUI2.nsh
|
||||
|
||||
!define VERSION "0.6.21"
|
||||
!system 'for /f "delims=" %%a in ('type ..\ATCS_latest') do set "VERSION=%%a" && exit'
|
||||
!define VERSION "$%VERSION:~1%"
|
||||
!define TRAINER_VERSION "0.1.5"
|
||||
!define JAVA_BIN "java"
|
||||
!define ATCS_SOURCE_DIR "C:\ATCS"
|
||||
|
||||
Reference in New Issue
Block a user