Fix build script

This commit is contained in:
Natsumi
2025-05-09 18:53:06 +10:00
parent a3448cc924
commit 5ca028b30a

View File

@@ -16,9 +16,11 @@ dotnet build Dotnet\VRCX-Cef.csproj -p:Configuration=Release -p:Platform=x64 -p:
Write-Host "Building Node.js..." -ForegroundColor Green
Remove-Item -Path "node_modules" -Force -Recurse -ErrorAction SilentlyContinue
npm ci --loglevel=error
$ErrorActionPreference = "Continue"
npm run prod
$ErrorActionPreference = "Stop"
Remove-Item -Path "build\Cef\html" -Force -Recurse -ErrorAction SilentlyContinue
New-Item -ItemType Junction -Path "build\Cef\html" -Target "html"
New-Item -ItemType Junction -Path "build\Cef\html" -Target "build\html"
Write-Host "Creating Zip..." -ForegroundColor Green
cd "build\Cef"