mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 22:46:06 +02:00
Fix build script
This commit is contained in:
@@ -16,9 +16,11 @@ dotnet build Dotnet\VRCX-Cef.csproj -p:Configuration=Release -p:Platform=x64 -p:
|
|||||||
Write-Host "Building Node.js..." -ForegroundColor Green
|
Write-Host "Building Node.js..." -ForegroundColor Green
|
||||||
Remove-Item -Path "node_modules" -Force -Recurse -ErrorAction SilentlyContinue
|
Remove-Item -Path "node_modules" -Force -Recurse -ErrorAction SilentlyContinue
|
||||||
npm ci --loglevel=error
|
npm ci --loglevel=error
|
||||||
|
$ErrorActionPreference = "Continue"
|
||||||
npm run prod
|
npm run prod
|
||||||
|
$ErrorActionPreference = "Stop"
|
||||||
Remove-Item -Path "build\Cef\html" -Force -Recurse -ErrorAction SilentlyContinue
|
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
|
Write-Host "Creating Zip..." -ForegroundColor Green
|
||||||
cd "build\Cef"
|
cd "build\Cef"
|
||||||
|
|||||||
Reference in New Issue
Block a user