mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 22:46:06 +02:00
Remove zip excludes
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ set ZIP_NAME=VRCX_%TODAY%.zip
|
|||||||
echo %ZIP_NAME%
|
echo %ZIP_NAME%
|
||||||
rem using 7-Zip (https://www.7-zip.org)
|
rem using 7-Zip (https://www.7-zip.org)
|
||||||
cd "%~dp0\bin\x64\Release"
|
cd "%~dp0\bin\x64\Release"
|
||||||
%ZIP_BIN% a -tzip %ZIP_NAME% * -mx=7 -xr0!cache -xr0!userdata -xr0!*.log -xr0!*.json -xr0!*.sqlite3 -xr0!*.pdb -xr0!*.config
|
%ZIP_BIN% a -tzip %ZIP_NAME% * -mx=7 -xr0!*.log -xr0!*.pdb
|
||||||
cd "%~dp0"
|
cd "%~dp0"
|
||||||
move "%~dp0\bin\x64\Release\%ZIP_NAME%" "%~dp0"
|
move "%~dp0\bin\x64\Release\%ZIP_NAME%" "%~dp0"
|
||||||
rd "%~dp0\bin\x64\Release\html"
|
rd "%~dp0\bin\x64\Release\html"
|
||||||
|
|||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
$ErrorActionPreference = "Stop"
|
$ErrorActionPreference = "Stop"
|
||||||
|
|
||||||
$installPath = &"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -version 16.0 -property installationpath
|
$installPath = &"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -version 16.0 -property installationpath
|
||||||
Import-Module (Join-Path $installPath "Common7\Tools\Microsoft.VisualStudio.DevShell.dll")
|
Import-Module (Join-Path $installPath "Common7\Tools\Microsoft.VisualStudio.DevShell.dll")
|
||||||
@@ -22,7 +22,7 @@ New-Item -ItemType Junction -Path "bin\x64\Release\html" -Target "html\dist"
|
|||||||
|
|
||||||
Write-Host "Creating Zip..." -ForegroundColor Green
|
Write-Host "Creating Zip..." -ForegroundColor Green
|
||||||
cd "bin\x64\Release"
|
cd "bin\x64\Release"
|
||||||
7z a -tzip $ZipName * -mx=7 -xr0!cache -xr0!userdata -xr0!"*.log" -xr0!"*.json" -xr0!"*.sqlite3" -xr0!"*.pdb" -xr0!"*.config"
|
7z a -tzip $ZipName * -mx=7 -xr0!"*.log" -xr0!"*.pdb"
|
||||||
Move-Item $ZipName ..\..\..\$ZipName -Force
|
Move-Item $ZipName ..\..\..\$ZipName -Force
|
||||||
cd ..\..\..\
|
cd ..\..\..\
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -11,7 +11,7 @@ set ZIP_NAME=VRCX_%TODAY%.zip
|
|||||||
echo %ZIP_NAME%
|
echo %ZIP_NAME%
|
||||||
rem using 7-Zip (https://www.7-zip.org)
|
rem using 7-Zip (https://www.7-zip.org)
|
||||||
cd "%~dp0\bin\x64\Release"
|
cd "%~dp0\bin\x64\Release"
|
||||||
%ZIP_BIN% a -tzip %ZIP_NAME% * -mx=7 -xr0!cache -xr0!userdata -xr0!*.log -xr0!*.json -xr0!*.sqlite3 -xr0!*.pdb -xr0!*.config
|
%ZIP_BIN% a -tzip %ZIP_NAME% * -mx=7 -xr0!*.log -xr0!*.pdb
|
||||||
cd "%~dp0"
|
cd "%~dp0"
|
||||||
move "%~dp0\bin\x64\Release\%ZIP_NAME%" "%~dp0"
|
move "%~dp0\bin\x64\Release\%ZIP_NAME%" "%~dp0"
|
||||||
pause
|
pause
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,7 @@ set ZIP_NAME=VRCX_%TODAY%.zip
|
|||||||
echo %ZIP_NAME%
|
echo %ZIP_NAME%
|
||||||
rem using bandizip (https://www.bandisoft.com/bandizip)
|
rem using bandizip (https://www.bandisoft.com/bandizip)
|
||||||
cd "%~dp0\bin\x64\Release"
|
cd "%~dp0\bin\x64\Release"
|
||||||
bz c -l:9 -r -storeroot:yes -ex:"cache;userdata;*.log;*.json;*.sqlite3;*.pdb;*.config" -cmt:"https://github.com/pypy-vrc/VRCX" %ZIP_NAME% *
|
bz c -l:9 -r -storeroot:yes -ex:"*.log;*.pdb" -cmt:"https://github.com/pypy-vrc/VRCX" %ZIP_NAME% *
|
||||||
cd "%~dp0"
|
cd "%~dp0"
|
||||||
move "%~dp0\bin\x64\Release\%ZIP_NAME%" "%~dp0"
|
move "%~dp0\bin\x64\Release\%ZIP_NAME%" "%~dp0"
|
||||||
pause
|
pause
|
||||||
|
|||||||
Reference in New Issue
Block a user