mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-10 18:33:51 +02:00
12 lines
408 B
Batchfile
12 lines
408 B
Batchfile
@echo off
|
|
setlocal
|
|
for /f %%a in ('powershell -Command "Get-Date -format yyyyMMdd"') do set TODAY=%%a
|
|
set ZIP_NAME=VRCX_%TODAY%.zip
|
|
echo %ZIP_NAME%
|
|
rem using 7-Zip (https://www.7-zip.org)
|
|
cd "%~dp0\bin\x64\Release"
|
|
"C:\Program Files\7-Zip\7z.exe" a -tzip %ZIP_NAME% * -mx=7 -xr0!cache -xr0!userdata -xr0!*.log -xr0!VRCX.json -xr0!VRCX.sqlite3
|
|
cd "%~dp0"
|
|
move "%~dp0\bin\x64\Release\%ZIP_NAME%" "%~dp0"
|
|
pause
|