mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-15 19:22:19 +08:00
4472ad5d53
Squashed commits: [485c2bd] fix: wrong BASE_URL
9 lines
308 B
PowerShell
9 lines
308 B
PowerShell
Set-PSDebug -Trace 1
|
|
Push-Location "$PSScriptRoot/source"
|
|
$env:BASE_URL = "./"
|
|
$env:VITE_EMBEDDED_BUILD = "true"
|
|
(npm ci) -and (npx vite build)
|
|
Remove-Item -Recurse -ErrorAction SilentlyContinue ../../BililiveRecorder.Web/embeded/ui
|
|
Copy-Item -Recurse dist ../../BililiveRecorder.Web/embeded/ui
|
|
Pop-Location
|