mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-12-26 12:15:42 +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
|