mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 03:32:20 +08:00
Update webui and enable EMBEDED_BUILD flag
This commit is contained in:
parent
89d41742ef
commit
03ca7be644
|
@ -1,6 +1,7 @@
|
|||
Set-PSDebug -Trace 1
|
||||
Push-Location "$PSScriptRoot/source"
|
||||
$env:BASE_URL = "/ui/"
|
||||
$env:EMBEDED_BUILD = "true"
|
||||
npm ci
|
||||
npx vite build
|
||||
Copy-Item -Recurse dist ../../BililiveRecorder.Web/embeded/ui
|
||||
|
|
|
@ -3,6 +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"
|
||||
npm ci && npx vite build
|
||||
cp --recursive dist ../../BililiveRecorder.Web/embeded/ui
|
||||
popd
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 9c058133cd4e88d4b31a00faf6433d1e4e5fb853
|
||||
Subproject commit 6eda3e9539c1551f99baa1a79e0b276cb17e1c91
|
Loading…
Reference in New Issue
Block a user