mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 11:42:22 +08:00
update webui to v2.0.3
This commit is contained in:
parent
123bc3c97a
commit
5179df456b
|
@ -1,7 +1,7 @@
|
|||
Set-PSDebug -Trace 1
|
||||
Push-Location "$PSScriptRoot/source"
|
||||
$env:BASE_URL = "/ui/"
|
||||
$env:EMBEDED_BUILD = "true"
|
||||
$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
|
||||
|
|
|
@ -3,7 +3,7 @@ set -ex
|
|||
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]:-$0}"; )" &> /dev/null && pwd 2> /dev/null; )";
|
||||
pushd "$SCRIPT_DIR/source"
|
||||
export BASE_URL="/ui/"
|
||||
export EMBEDED_BUILD="true"
|
||||
export VITE_EMBEDDED_BUILD="true"
|
||||
npm ci && npx vite build
|
||||
rm --recursive ../../BililiveRecorder.Web/embeded/ui 2>/dev/null || true
|
||||
cp --recursive dist ../../BililiveRecorder.Web/embeded/ui
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit cdc80bcc8983ed22f946d7d134ffd8ea0f92d5c7
|
||||
Subproject commit 63f833c5086a9cf44daa92bfcf1677f51b4e0bdf
|
Loading…
Reference in New Issue
Block a user