Remove zip excludes

This commit is contained in:
Natsumi
2021-09-22 19:32:02 +12:00
parent 2be1d51cc6
commit 9cce7f83e5
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
$ErrorActionPreference = "Stop"
$ErrorActionPreference = "Stop"
$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")
@@ -22,7 +22,7 @@ New-Item -ItemType Junction -Path "bin\x64\Release\html" -Target "html\dist"
Write-Host "Creating Zip..." -ForegroundColor Green
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
cd ..\..\..\