2018-08-12 17:34:01 +02:00
|
|
|
REM Create a PTM release
|
|
|
|
|
|
|
|
IF EXIST ..\Release GOTO NOWINRELEASE
|
|
|
|
MD ..\Release
|
|
|
|
|
|
|
|
:NOWINRELEASE
|
|
|
|
IF EXIST ..\Release\Latest GOTO NOWINLATEST
|
|
|
|
MD ..\Release\Latest
|
|
|
|
|
|
|
|
:NOWINLATEST
|
|
|
|
REM Remove previous release
|
|
|
|
CD ..\Release\Latest
|
2018-08-12 18:11:44 +02:00
|
|
|
DEL /F /S /Q *
|
2018-08-12 17:34:01 +02:00
|
|
|
|
|
|
|
REM Copy release files
|
2018-08-12 18:11:44 +02:00
|
|
|
MD PTMagic
|
2018-08-12 17:37:29 +02:00
|
|
|
XCOPY /Y /S ..\..\PTMagic\_defaults\* .\
|
2021-02-11 15:26:47 +01:00
|
|
|
XCOPY /Y /S ..\..\PTMagic\_auto_updater\* .\PTMagic
|
2018-08-12 17:34:01 +02:00
|
|
|
XCOPY /Y /S ..\..\PTMagic\bin\Release\PublishOutput .\PTMagic
|
2018-08-12 18:11:44 +02:00
|
|
|
CD .\PTMagic
|
|
|
|
DEL /F /S /Q _presets
|
|
|
|
DEL /F /S /Q settings.*
|
2018-08-12 18:25:01 +02:00
|
|
|
DEL /F /S /Q Monitor\appsettings.json
|
2019-12-30 16:13:28 +01:00
|
|
|
|
|
|
|
pause
|