This commit is contained in:
Natsumi
2023-07-14 10:11:40 +12:00
parent ab68444d12
commit 2f125b5983
2 changed files with 17 additions and 5 deletions
+6 -1
View File
@@ -14,7 +14,7 @@ msbuild VRCX.sln -p:Configuration=Release -p:Platform=x64 -p:RestorePackagesConf
Write-Host "Building Node.js..." -ForegroundColor Green
cd "html"
Remove-Item -Path "node_modules" -Force -Recurse -ErrorAction SilentlyContinue
npm ci
npm ci --loglevel=error
npm run prod
cd ..
Remove-Item -Path "bin\x64\Release\html" -Force -Recurse -ErrorAction SilentlyContinue
@@ -34,4 +34,9 @@ Start-Sleep -Seconds 1
Move-Item VRCX_Setup.exe ..\$SetupName -Force
cd ..
Write-Host "Creating SHA256-hash..." -ForegroundColor Green
$hash = Get-FileHash -Path $SetupName -Algorithm SHA256
$hashLine = "$($hash.Hash) $SetupName"
$hashLine | Out-File -FilePath "SHA256SUMS.txt" -Encoding ASCII
Write-Host "Done!" -ForegroundColor Green