-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathrelease.cmd
More file actions
13 lines (10 loc) · 823 Bytes
/
release.cmd
File metadata and controls
13 lines (10 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
::Zips the dll into the correct directory structure for release
::Make sure to increment the version
set kk_version=7.8
set kks_name=KKS_PregnancyPlus
set hs2_name=HS2_PregnancyPlus
set ai_name=AI_PregnancyPlus
IF EXIST "./bin/%kks_name%/BepinEx/plugins/%kks_name%.dll" "%ProgramFiles%\7-Zip\7z.exe" a -tzip "%HOMEDRIVE%%HOMEPATH%/downloads/%kks_name% v%kk_version%.zip" "./bin/%kks_name%/BepinEx" -mx0
IF EXIST "./bin/%hs2_name%/BepinEx/plugins/%hs2_name%.dll" "%ProgramFiles%\7-Zip\7z.exe" a -tzip "%HOMEDRIVE%%HOMEPATH%/downloads/%hs2_name% v%kk_version%.zip" "./bin/%hs2_name%/BepinEx" -mx0
IF EXIST "./bin/%ai_name%/BepinEx/plugins/%ai_name%.dll" "%ProgramFiles%\7-Zip\7z.exe" a -tzip "%HOMEDRIVE%%HOMEPATH%/downloads/%ai_name% v%kk_version%.zip" "./bin/%ai_name%/BepinEx" -mx0
start %HOMEDRIVE%%HOMEPATH%/downloads